Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Registers to be notified when a property changes.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function AdvisePropertyChangeEvents ( _
pAdvise As IVsUIDataSourcePropertyChangeEvents, _
<OutAttribute> ByRef pCookie As UInteger _
) As Integer
int AdvisePropertyChangeEvents(
IVsUIDataSourcePropertyChangeEvents pAdvise,
out uint pCookie
)
int AdvisePropertyChangeEvents(
[InAttribute] IVsUIDataSourcePropertyChangeEvents^ pAdvise,
[OutAttribute] unsigned int% pCookie
)
abstract AdvisePropertyChangeEvents :
pAdvise:IVsUIDataSourcePropertyChangeEvents *
pCookie:uint32 byref -> int
function AdvisePropertyChangeEvents(
pAdvise : IVsUIDataSourcePropertyChangeEvents,
pCookie : uint
) : int
Parameters
pAdvise
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIDataSourcePropertyChangeEvents[in] The interface to call when a change occurs.
pCookie
Type: UInt32%[out] Location to return an ID for this event sink.
Return Value
Type: Int32
Returns S_OK if the sink was registered.
.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.