Parameter.Set
Description:
Sets the parameter to a new string of text.
Sets the parameter to a new string of text.
Remarks:
You should only use this method if the StorageType property reports the type of the parameter as a String.
You should only use this method if the StorageType property reports the type of the parameter as a String.
Overloads (4):
public bool Set(
string value
)
void AddInstanceComment(Wall wall)
{
// Get the comment parameter of the element instance
Parameter commentPara = wall.get_Parameter(BuiltInParameter.ALL_MODEL_INSTANCE_COMMENTS);
if (null != commentPara)
{
// Add a greeting string to the comment
commentPara.Set("Hello Everyone.");
}
}
-
The parameter is read-only.