ShellBrowserEnsureExtension Method |
Ensures the given extension for a filename or path.
Namespace:
Jam.Shell
Assembly:
ShellBrowser (in ShellBrowser.dll) Version: 7.1
Syntax public static string EnsureExtension(
string pName,
string pExtension
)
Public Shared Function EnsureExtension (
pName As String,
pExtension As String
) As String
public:
static String^ EnsureExtension(
String^ pName,
String^ pExtension
)
static member EnsureExtension :
pName : string *
pExtension : string -> string
Parameters
- pName
- Type: SystemString
Name or path where the extension should be ensured. - pExtension
- Type: SystemString
The extension.
Return Value
Type:
StringThe given name or path including the given extension.
See Also