共用方式為


IVsUIDataSource.AdvisePropertyChangeEvents Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'宣告
Function AdvisePropertyChangeEvents ( _
    pAdvise As IVsUIDataSourcePropertyChangeEvents, _
    <OutAttribute> ByRef pCookie As UInteger _
) As Integer
'用途
Dim instance As IVsUIDataSource
Dim pAdvise As IVsUIDataSourcePropertyChangeEvents
Dim pCookie As UInteger
Dim returnValue As Integer

returnValue = instance.AdvisePropertyChangeEvents(pAdvise, _
    pCookie)
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

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsUIDataSource Interface

IVsUIDataSource Members

Microsoft.VisualStudio.Shell.Interop Namespace