ShellBrowserBaseHasFileExtension Method |
Checks whether the given fullpath or filename has the given extension.
Namespace: Jam.ShellAssembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntaxpublic static bool HasFileExtension(
string p_Path,
string p_Extension
)
Public Shared Function HasFileExtension (
p_Path As String,
p_Extension As String
) As Boolean
public:
static bool HasFileExtension(
String^ p_Path,
String^ p_Extension
)
static member HasFileExtension :
p_Path : string *
p_Extension : string -> bool
Parameters
- p_Path String
- The fullpath or filename that is to be checked.
- p_Extension String
- The extension that is to be checked.
Return Value
BooleanTrue if the given path has the given extension, false otherwise.
See Also