SystemImageListGetIconHandle Method (String, Boolean, FileAttributes) |
Gets icon handle for the passed ItemIdList.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 6.3.1
Syntax public IntPtr GetIconHandle(
string pFilePath,
bool pOpened,
FileAttributes pAttributes
)
Public Function GetIconHandle (
pFilePath As String,
pOpened As Boolean,
pAttributes As FileAttributes
) As IntPtr
public:
IntPtr GetIconHandle(
String^ pFilePath,
bool pOpened,
FileAttributes pAttributes
)
member GetIconHandle :
pFilePath : string *
pOpened : bool *
pAttributes : FileAttributes -> IntPtr
Parameters
- pFilePath
- Type: SystemString
Full pathname of the file. - pOpened
- Type: SystemBoolean
if true returns the opened icon for folders. - pAttributes
- Type: System.IOFileAttributes
The file attributes that should be used. Usually 0 is passed here.
Return Value
Type:
IntPtrThe icon handle.
See Also