IProcessAnalyst.UnsubscribePropertyChange [Method]
- Last UpdatedJul 18, 2023
- 1 minute read
Use this method to cancel notifications of when the specified property changes. Notifications will cease to be sent via the PropertyChanged event.
Defined As
-
[VBA] UnsubscribePropertyChange(interfaceName As String, propertyName As String)
-
[Cicode] UnsubscribePropertyChange(STRING interfaceName, STRING propertyName)
-
[C++] HRESULT UnsubscribePropertyChange(BSTR interfaceName, BSTR propertyName)
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.
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