Click or drag to resize

HostUtilsFileNameEndsWithRhinoExtension Method

Strip file extension from file name and check to see if it is a valid Rhino file extension.

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static bool FileNameEndsWithRhinoExtension(
	string fileName
)

Parameters

fileName
Type: SystemString
File name to check.

Return Value

Type: Boolean
Returns true if the file name has an extension like 3dm.
Version Information

Rhino for Windows

Supported in: 6.1 BETA
See Also