Click or drag to resize
SbFileHelperGetExtension Method

Returns the extension part of the specified filename.

Namespace: OIV.Inventor.Helpers
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public static string GetExtension(
	string filename
)

Parameters

filename
Type: SystemString

Return Value

Type: String
Remarks

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