PropertySystemHelperGetFileType Method |
Returns the description text for the passed file extension.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.0
Syntax public static string GetFileType(
string pExtension,
bool pIsFolder = false
)
Public Shared Function GetFileType (
pExtension As String,
Optional pIsFolder As Boolean = false
) As String
public:
static String^ GetFileType(
String^ pExtension,
bool pIsFolder = false
)
static member GetFileType :
pExtension : string *
?pIsFolder : bool
(* Defaults:
let _pIsFolder = defaultArg pIsFolder false
*)
-> string
Parameters
- pExtension
- Type: SystemString
a file extension like "TXT". - pIsFolder (Optional)
- Type: SystemBoolean
true if this object is folder.
Return Value
Type:
StringThe description text for the file type.
Exceptions See Also