ShellBrowserEnsureExtension Method |
Ensures the given extension for a filename or path.
Namespace: Jam.ShellAssembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntaxpublic 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 String
- Name or path where the extension should be ensured.
- pExtension String
- The extension.
Return Value
StringThe given name or path including the given extension.
See Also