RVTDocs.com

ColorFillSchemeEntry.SetStringValue

Method
Description:
Sets new String value of entry.
Remarks:
This method should only be used if the StorageType property reports the type of the entry as a String. New value should be not empty and valid for Revit name.
Syntax
public void SetStringValue(
	string value
)
Parameters
Parameter Type Description
value String
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
InvalidOperationException The entry has different storage type with String, or the value is empty, or contains forbidden characters.