Programming with Reflection
SetPropertyProfile method
Syntax object.SetPropertyProfile PropertyName, IsEnabled
Determines whether a given property is modifiable. Values for properties that are disabled with this method cannot be changed programmatically or by using Reflection's dialog boxes. Use the PropertyIsModifiable method to determine if a property is disabled.
PropertyName Argument Type: String
Required
Specifies the name of the property.
IsEnabled Argument Type: Boolean
Required
Specifies whether the named property is enabled. Use True to enable the property, or False to disable.