IGHAObjectSubscribeToProperty Method |
[This is preliminary documentation and is subject to change.]
Subscribes to any changes to the specified property
Namespace:
GHASchema
Assembly:
GHASchema (in GHASchema.dll) Version: 1.1.8074.31450 (1.0.0.0)
SyntaxGuid SubscribeToProperty(
Object gObj,
string propertyName,
string EventHandlerName,
bool persist = true
)
Parameters
- gObj
- Type: SystemObject
Object containing the event handler - propertyName
- Type: SystemString
Name of property to which to subscribe - EventHandlerName
- Type: SystemString
Name of the event handler to invoke on a property change - persist (Optional)
- Type: SystemBoolean
Makes the subscription persist across GHA restarts if true. Subscription only valid until the next restart if false
Return Value
Type:
GuidUnique identifier for the subscription
See Also