C# Class BExplorer.Shell._Plugin_Interfaces.FileSystemListItem

A representation of items on a standard physical/local file system
Inheritance: IListItemEx
Show file Open project: Gainedge/BetterExplorer Class Usage Examples

Private Properties

Property Type Description
IListItemEx IListItemEx[]
Initialize_Helper void
Initialize_Helper2 void
System System.Collections.IEnumerator

Public Methods

Method Description
Clone ( System.Boolean isHardCloning = false ) : IListItemEx
Dispose ( ) : void
Equals ( IListItemEx other ) : bool
Equals ( IListItemEx x, IListItemEx y ) : bool
ExtractAndDrawThumbnail ( IntPtr hdc, uint iconSize, WTS_CACHEFLAGS &flags, User32 iconBounds, bool &retrieved, bool isHidden, bool isRefresh = false ) : HResult
FileSystemListItem ( ) : BExplorer.Shell.Interop
GetDisplayName ( SIGDN type ) : string
GetDriveInfo ( ) : System.IO.DriveInfo

Returns drive information

GetEnumerator ( ) : IEnumerator
GetHBitmap ( int iconSize, bool isThumbnail, bool isForce = false ) : IntPtr
GetHashCode ( IListItemEx obj ) : int
GetIShellFolder ( ) : IShellFolder
GetPropertyValue ( PROPERTYKEY pkey, Type type ) : PropVariant
GetShield ( ) : IExtractIconPWFlags
GetSystemImageListIndex ( IntPtr pidl, ShellIconType type, ShellIconFlags flags ) : int
GetUniqueID ( ) : int
Initialize ( IntPtr lvHandle, IntPtr pidl ) : void
Initialize ( IntPtr lvHandle, IntPtr pidl, int index ) : void
Initialize ( IntPtr lvHandle, string path ) : void
Initialize ( IntPtr lvHandle, string path, int index ) : void
InitializeWithIShellItem ( IntPtr lvHandle, IShellItem item ) : IListItemEx
InitializeWithParent ( ShellItem parent, IntPtr lvHandle, IntPtr pidl, int index ) : void
InitializeWithShellItem ( ShellSearchFolder item, IntPtr lvHandle, int index ) : void
RefreshThumb ( int iconSize, WTS_CACHEFLAGS &flags ) : System.Boolean
Thumbnail ( int size, ShellThumbnailFormatOption format, ShellThumbnailRetrievalOption source ) : System.Drawing.Bitmap
ThumbnailSource ( int size, ShellThumbnailFormatOption format, ShellThumbnailRetrievalOption source ) : System.Windows.Media.Imaging.BitmapSource
ToFileSystemItem ( IntPtr parentHandle, IntPtr pidl ) : FileSystemListItem
ToFileSystemItem ( IntPtr parentHandle, ShellSearchFolder folder ) : FileSystemListItem
ToFileSystemItem ( IntPtr parentHandle, String path ) : FileSystemListItem

Private Methods

Method Description
IListItemEx ( bool isEnumHidden ) : IListItemEx[]

Gets all the sub items

Initialize_Helper ( ShellItem folder, IntPtr lvHandle, int index ) : void
Initialize_Helper2 ( ShellItem parent, IntPtr pidl, IntPtr lvHandle, int index ) : void
System ( ) : System.Collections.IEnumerator

Method Details

Clone() public method

public Clone ( System.Boolean isHardCloning = false ) : IListItemEx
isHardCloning System.Boolean
return IListItemEx

Dispose() public method

public Dispose ( ) : void
return void

Equals() public method

public Equals ( IListItemEx other ) : bool
other IListItemEx
return bool

Equals() public method

public Equals ( IListItemEx x, IListItemEx y ) : bool
x IListItemEx
y IListItemEx
return bool

ExtractAndDrawThumbnail() public method

public ExtractAndDrawThumbnail ( IntPtr hdc, uint iconSize, WTS_CACHEFLAGS &flags, User32 iconBounds, bool &retrieved, bool isHidden, bool isRefresh = false ) : HResult
hdc System.IntPtr
iconSize uint
flags WTS_CACHEFLAGS
iconBounds User32
retrieved bool
isHidden bool
isRefresh bool
return HResult

FileSystemListItem() public method

public FileSystemListItem ( ) : BExplorer.Shell.Interop
return BExplorer.Shell.Interop

GetDisplayName() public method

public GetDisplayName ( SIGDN type ) : string
type SIGDN
return string

GetDriveInfo() public method

Returns drive information
public GetDriveInfo ( ) : System.IO.DriveInfo
return System.IO.DriveInfo

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetHBitmap() public method

public GetHBitmap ( int iconSize, bool isThumbnail, bool isForce = false ) : IntPtr
iconSize int
isThumbnail bool
isForce bool
return System.IntPtr

GetHashCode() public method

public GetHashCode ( IListItemEx obj ) : int
obj IListItemEx
return int

GetIShellFolder() public method

public GetIShellFolder ( ) : IShellFolder
return IShellFolder

GetPropertyValue() public method

public GetPropertyValue ( PROPERTYKEY pkey, Type type ) : PropVariant
pkey BExplorer.Shell.Interop.PROPERTYKEY
type System.Type
return PropVariant

GetShield() public method

public GetShield ( ) : IExtractIconPWFlags
return IExtractIconPWFlags

GetSystemImageListIndex() public method

public GetSystemImageListIndex ( IntPtr pidl, ShellIconType type, ShellIconFlags flags ) : int
pidl System.IntPtr
type ShellIconType
flags ShellIconFlags
return int

GetUniqueID() public method

public GetUniqueID ( ) : int
return int

Initialize() public method

public Initialize ( IntPtr lvHandle, IntPtr pidl ) : void
lvHandle System.IntPtr
pidl System.IntPtr
return void

Initialize() public method

public Initialize ( IntPtr lvHandle, IntPtr pidl, int index ) : void
lvHandle System.IntPtr
pidl System.IntPtr
index int
return void

Initialize() public method

public Initialize ( IntPtr lvHandle, string path ) : void
lvHandle System.IntPtr
path string
return void

Initialize() public method

public Initialize ( IntPtr lvHandle, string path, int index ) : void
lvHandle System.IntPtr
path string
index int
return void

InitializeWithIShellItem() public static method

public static InitializeWithIShellItem ( IntPtr lvHandle, IShellItem item ) : IListItemEx
lvHandle System.IntPtr
item IShellItem
return IListItemEx

InitializeWithParent() public method

public InitializeWithParent ( ShellItem parent, IntPtr lvHandle, IntPtr pidl, int index ) : void
parent ShellItem
lvHandle System.IntPtr
pidl System.IntPtr
index int
return void

InitializeWithShellItem() public method

public InitializeWithShellItem ( ShellSearchFolder item, IntPtr lvHandle, int index ) : void
item ShellSearchFolder
lvHandle System.IntPtr
index int
return void

RefreshThumb() public method

public RefreshThumb ( int iconSize, WTS_CACHEFLAGS &flags ) : System.Boolean
iconSize int
flags WTS_CACHEFLAGS
return System.Boolean

Thumbnail() public method

public Thumbnail ( int size, ShellThumbnailFormatOption format, ShellThumbnailRetrievalOption source ) : System.Drawing.Bitmap
size int
format ShellThumbnailFormatOption
source ShellThumbnailRetrievalOption
return System.Drawing.Bitmap

ThumbnailSource() public method

public ThumbnailSource ( int size, ShellThumbnailFormatOption format, ShellThumbnailRetrievalOption source ) : System.Windows.Media.Imaging.BitmapSource
size int
format ShellThumbnailFormatOption
source ShellThumbnailRetrievalOption
return System.Windows.Media.Imaging.BitmapSource

ToFileSystemItem() public static method

public static ToFileSystemItem ( IntPtr parentHandle, IntPtr pidl ) : FileSystemListItem
parentHandle System.IntPtr
pidl System.IntPtr
return FileSystemListItem

ToFileSystemItem() public static method

public static ToFileSystemItem ( IntPtr parentHandle, ShellSearchFolder folder ) : FileSystemListItem
parentHandle System.IntPtr
folder ShellSearchFolder
return FileSystemListItem

ToFileSystemItem() public static method

public static ToFileSystemItem ( IntPtr parentHandle, String path ) : FileSystemListItem
parentHandle System.IntPtr
path String
return FileSystemListItem