SystemImageListGetIconIndexForPath Method |
Gets icon index for path.
Namespace: Jam.ShellAssembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntaxpublic 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 String
- Full pathname of the file.
- pOpened Boolean (Optional)
- true, if the icon should be returned open, like it is often used for the
selected node in treeviews.
- pAttributes FileAttributes (Optional)
- The file attributes that should be used. Usually 0 is passed here.
Return Value
Int32The icon index for path.
See Also