Method SetCustomProperty
SetCustomProperty(string, string, CadSheetSetPropertyFlags)
Sets a custom property: the value and the owner bits of the property of that name (letter case ignored) where there is one, else a new property placed in the name order. The property is not copied to the sheets here.
public void SetCustomProperty(string name, string value, CadSheetSetPropertyFlags flags)
Parameters
namestringThe name.
valuestringThe value; null or empty for none, which the file leaves out.
flagsCadSheetSetPropertyFlagsThe owner bits.
Exceptions
- ArgumentNullException
Thrown when the name is null.
- ArgumentException
Thrown when the name is empty.
- InvalidOperationException
Thrown outside Change(Action<CadSheetSet>).