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