SystemImageListGetIconIndexForPath Method |
Gets icon index for path.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 6.3.1
Syntax public static int GetIconIndexForPath(
string pFilePath,
bool pOpened = false,
FileAttributes pAttributes =
)
Public Shared Function GetIconIndexForPath (
pFilePath As String,
Optional pOpened As Boolean = false,
Optional pAttributes As FileAttributes =
) As Integer
public:
static int GetIconIndexForPath(
String^ pFilePath,
bool pOpened = false,
FileAttributes pAttributes =
)
static member GetIconIndexForPath :
pFilePath : string *
?pOpened : bool *
?pAttributes : FileAttributes
(* Defaults:
let _pOpened = defaultArg pOpened false
let _pAttributes = defaultArg pAttributes
*)
-> int
Parameters
- pFilePath
- Type: SystemString
Full pathname of the file. - pOpened (Optional)
- Type: SystemBoolean
true, if the icon should be returned open, like it is often used for the
selected node in treeviews. - pAttributes (Optional)
- Type: System.IOFileAttributes
The file attributes that should be used. Usually 0 is passed here.
Return Value
Type:
Int32The icon index for path.
See Also