39 references to IShellItem
System.Windows.Forms (39)
winforms\Managed\System\WinForms\FileDialog_Vista.cs (7)
94
FileDialogNative.
IShellItem
initialDirectory = GetShellItemForPath(this.InitialDirectory);
233
public int OnFolderChanging(FileDialogNative.IFileDialog pfd, FileDialogNative.
IShellItem
psiFolder)
246
public void OnShareViolation(FileDialogNative.IFileDialog pfd, FileDialogNative.
IShellItem
psi, out FileDialogNative.FDE_SHAREVIOLATION_RESPONSE pResponse)
255
public void OnOverwrite(FileDialogNative.IFileDialog pfd, FileDialogNative.
IShellItem
psi, out FileDialogNative.FDE_OVERWRITE_RESPONSE pResponse)
304
internal static FileDialogNative.
IShellItem
GetShellItemForPath(string path)
306
FileDialogNative.
IShellItem
ret = null;
323
internal static string GetFilePathFromShellItem(FileDialogNative.
IShellItem
item)
winforms\Managed\System\WinForms\FileDialog_Vista_Interop.cs (26)
97
void GetItemAt([In] uint dwIndex, [MarshalAs(UnmanagedType.Interface)] out
IShellItem
ppsi);
131
void SetDefaultFolder([In, MarshalAs(UnmanagedType.Interface)]
IShellItem
psi);
133
void SetFolder([In, MarshalAs(UnmanagedType.Interface)]
IShellItem
psi);
135
void GetFolder([MarshalAs(UnmanagedType.Interface)] out
IShellItem
ppsi);
137
void GetCurrentSelection([MarshalAs(UnmanagedType.Interface)] out
IShellItem
ppsi);
149
void GetResult([MarshalAs(UnmanagedType.Interface)] out
IShellItem
ppsi);
151
void AddPlace([In, MarshalAs(UnmanagedType.Interface)]
IShellItem
psi, int alignment);
186
void SetDefaultFolder([In, MarshalAs(UnmanagedType.Interface)]
IShellItem
psi);
188
void SetFolder([In, MarshalAs(UnmanagedType.Interface)]
IShellItem
psi);
190
void GetFolder([MarshalAs(UnmanagedType.Interface)] out
IShellItem
ppsi);
192
void GetCurrentSelection([MarshalAs(UnmanagedType.Interface)] out
IShellItem
ppsi);
204
void GetResult([MarshalAs(UnmanagedType.Interface)] out
IShellItem
ppsi);
206
void AddPlace([In, MarshalAs(UnmanagedType.Interface)]
IShellItem
psi, FileDialogCustomPlace fdcp);
245
void SetDefaultFolder([In, MarshalAs(UnmanagedType.Interface)]
IShellItem
psi);
247
void SetFolder([In, MarshalAs(UnmanagedType.Interface)]
IShellItem
psi);
249
void GetFolder([MarshalAs(UnmanagedType.Interface)] out
IShellItem
ppsi);
251
void GetCurrentSelection([MarshalAs(UnmanagedType.Interface)] out
IShellItem
ppsi);
263
void GetResult([MarshalAs(UnmanagedType.Interface)] out
IShellItem
ppsi);
265
void AddPlace([In, MarshalAs(UnmanagedType.Interface)]
IShellItem
psi, FileDialogCustomPlace fdcp);
277
void SetSaveAsItem([In, MarshalAs(UnmanagedType.Interface)]
IShellItem
psi);
285
void ApplyProperties([In, MarshalAs(UnmanagedType.Interface)]
IShellItem
psi, [In, MarshalAs(UnmanagedType.Interface)] IntPtr pStore, [In, ComAliasName("ShellObjects.wireHWND")] ref IntPtr hwnd, [In, MarshalAs(UnmanagedType.Interface)] IntPtr pSink);
301
int OnFolderChanging([In, MarshalAs(UnmanagedType.Interface)] IFileDialog pfd, [In, MarshalAs(UnmanagedType.Interface)]
IShellItem
psiFolder);
307
void OnShareViolation([In, MarshalAs(UnmanagedType.Interface)] IFileDialog pfd, [In, MarshalAs(UnmanagedType.Interface)]
IShellItem
psi, out FDE_SHAREVIOLATION_RESPONSE pResponse);
311
void OnOverwrite([In, MarshalAs(UnmanagedType.Interface)] IFileDialog pfd, [In, MarshalAs(UnmanagedType.Interface)]
IShellItem
psi, out FDE_OVERWRITE_RESPONSE pResponse);
321
void GetParent([MarshalAs(UnmanagedType.Interface)] out
IShellItem
ppsi);
327
void Compare([In, MarshalAs(UnmanagedType.Interface)]
IShellItem
psi, [In] uint hint, out int piOrder);
winforms\Managed\System\WinForms\FileDialogCustomPlace.cs (1)
71
internal FileDialogNative.
IShellItem
GetNativePath()
winforms\Managed\System\WinForms\FileDialogCustomPlacesCollection.cs (1)
30
FileDialogNative.
IShellItem
shellItem = customPlace.GetNativePath();
winforms\Managed\System\WinForms\OpenFileDialog.cs (2)
232
FileDialogNative.
IShellItem
item;
240
FileDialogNative.
IShellItem
item;
winforms\Managed\System\WinForms\SaveFileDialog.cs (1)
220
FileDialogNative.
IShellItem
item;
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (1)
7653
public static extern int SHCreateShellItem(IntPtr pidlParent, IntPtr psfParent, IntPtr pidl, out FileDialogNative.
IShellItem
ppsi);