SystemImageListGetIndexFromExtension Method |
Returns the icon index for the passed file extension
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.1
Syntax public static int GetIndexFromExtension(
string pExtension
)
Public Shared Function GetIndexFromExtension (
pExtension As String
) As Integer
public:
static int GetIndexFromExtension(
String^ pExtension
)
static member GetIndexFromExtension :
pExtension : string -> int
Parameters
- pExtension
- Type: SystemString
a file extnsion like "TXT".
Return Value
Type:
Int32The index of the corresponding icon in the system image list.
See Also