ShellBrowserBaseHasFileExtension Method |
Checks whether the given fullpath or filename has the given extension.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 6.3.1
Syntax public 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
- Type: SystemString
The fullpath or filename that is to be checked. - p_Extension
- Type: SystemString
The extension that is to be checked.
Return Value
Type:
BooleanTrue if the given path has the given extension, false otherwise.
See Also