Sets the parameter to a new string of text.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public bool Set( string value )
Parameters
- value String
- The new text value to which the parameter is to be set.
Return Value
BooleanThe Set method will return True if the parameter was successfully set to the new value, otherwise false.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The parameter is read-only. |