FormatOptions.IsValidSymbol
Description:
Checks whether a symbol is valid for a given unit.
Checks whether a symbol is valid for a given unit.
Overloads (2):
IsValidSymbol(ForgeTypeId,ForgeTypeId)
public static bool IsValidSymbol(
ForgeTypeId unitTypeId,
ForgeTypeId symbolTypeId
)
-
unitTypeIdIdentifier of the unit.
-
symbolTypeIdIdentifier of the symbol to check.
Return Value
bool
True if the symbol is valid, false otherwise.
-
unitTypeId is not a unit identifier. See UnitUtils.IsUnit(ForgeTypeId) and UnitUtils.GetUnitTypeId(DisplayUnitType).
-
A non-optional argument was null