Using the Process Analyst > Process Analyst for Developers > Automation Model > IProcessAnalyst.UnsubscribePropertyChange [Method]

IProcessAnalyst.UnsubscribePropertyChange [Method]

Use this method to cancel notifications of when the specified property changes. Notifications will cease to be sent via the PropertyChanged event.

Defined As

Parameters

interfaceName

[in] Name of the interface that the property you want to remove notifications for is defined on.

propertyName

[in] Name of the property you want to remove notifications for.

Execution Result

If the function succeeds, the return value will be Success. If the interfaceName or propertyName is a bad string, the return value will be InvalidArgument. If any other problem occurs, the return value will be GeneralFailure.

See Also

IProcessAnalyst.SubscribeForPropertyChange [Method], PropertyChanged [Event]

Calling Syntax

Assumes you have a page called "myPage" and the Process Analyst has been named "AN35".

[VBA]

Sub Example()
myPage_AN35.UnsubscribePropertyChange "IProcessAnalyst","ZoomMode"
End Sub

[Cicode]

Sub Example()
OBJECT hProcessAnalyst = ObjectByName("AN35");
_ObjectCallMethod(hProcessAnalyst, "UnsubscribePropertyChange", "IProcessAnalyst", "ZoomMode");
End Sub