Gets storage value as string when its PrimitiveType is string, binary or enumeration.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public string AsString()
Return Value
StringThe string value.
Exceptions
Exception | Condition |
---|---|
InapplicableDataException | The primitive type is not string, binary or enumeration. |