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
- pCookie
Type: System.UInt32%
Return Value
Type: System.Int32
.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.