Click or drag to resize

UnitsUtilitiesGetUnitString Method

Gets the short name of a unit type.

Namespace:  HightlanderSolutions.MeshCheckerEditorExtension.Utilities
Assembly:  MeshCheckerLibrary (in MeshCheckerLibrary.dll) Version: 2.3
Syntax
C#
[NotNullAttribute]
public static string GetUnitString(
	this UnitType unitType
)

Parameters

unitType
Type: HightlanderSolutions.MeshCheckerEditorExtensionUnitType
Specifies the unit type.

Return Value

Type: String
The short name of a unit type.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UnitType. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
InvalidOperationExceptionShort name string for specified UnitType not exist.
See Also