AssetPropertyString.IsValidValue Method
Checks that the value is a valid value for this property.
Namespace:
Autodesk.Revit.DB.Visual
Assembly:
RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public bool IsValidValue( string value )
Parameters
value
String
The value to be checked.
Return Value
Boolean
True if the value is valid for the property.
Exceptions
Exception
Condition
ArgumentNullException
A non-optional argument was null
InvalidOperationException
Cannot check validity for a property not being edited in AppearanceAssetEditScope.
See Also
Reference
AssetPropertyString Class
Autodesk.Revit.DB.Visual Namespace