GelDependencyObject.IVsUIDataSource.UnadvisePropertyChangeEvents Method
Microsoft internal use only.
Stops receiving notifications when properties change.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Private Function UnadvisePropertyChangeEvents ( _
cookie As UInteger _
) As Integer Implements IVsUIDataSource.UnadvisePropertyChangeEvents
int IVsUIDataSource.UnadvisePropertyChangeEvents(
uint cookie
)
Parameters
- cookie
Type: System.UInt32
[in] The ID returned by AdvisePropertyChangeEvents.
Return Value
Type: System.Int32
Returns S_OK if the sink was unregistered.
Implements
IVsUIDataSource.UnadvisePropertyChangeEvents(UInt32)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.