SbFileHelperGetExtension Method |
Returns the extension part of the specified filename.
Namespace: OIV.Inventor.HelpersAssembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public static string GetExtension(
string filename
)
Public Shared Function GetExtension (
filename As String
) As String
public:
static String^ GetExtension(
String^ filename
)
static member GetExtension :
filename : string -> string
Parameters
- filename
- Type: SystemString
Return Value
Type:
StringRemarks It does not include the '.' used to separate the file name and the extension!
E.g. If the filename is "test.dat", the function returns "dat".
See Also