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.1.1.0 (2024.1.1)
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