IViewObject2.GetAdvise Method (UInt32%, UInt32%, IAdviseSink%)
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Sub GetAdvise ( _
<OutAttribute> ByRef pAspects As UInteger, _
<OutAttribute> ByRef pAdvf As UInteger, _
<OutAttribute> ByRef ppAdvSink As IAdviseSink _
)
'使用
Dim instance As IViewObject2
Dim pAspects As UInteger
Dim pAdvf As UInteger
Dim ppAdvSink As IAdviseSink
instance.GetAdvise(pAspects, pAdvf, ppAdvSink)
void GetAdvise(
out uint pAspects,
out uint pAdvf,
out IAdviseSink ppAdvSink
)
void GetAdvise(
[OutAttribute] unsigned int% pAspects,
[OutAttribute] unsigned int% pAdvf,
[OutAttribute] IAdviseSink^% ppAdvSink
)
abstract GetAdvise :
pAspects:uint32 byref *
pAdvf:uint32 byref *
ppAdvSink:IAdviseSink byref -> unit
function GetAdvise(
pAspects : uint,
pAdvf : uint,
ppAdvSink : IAdviseSink
)
Parameters
- pAspects
Type: System.UInt32%
- pAdvf
Type: System.UInt32%
- ppAdvSink
Type: Microsoft.VisualStudio.OLE.Interop.IAdviseSink%
Implements
IViewObject.GetAdvise(UInt32%, UInt32%, IAdviseSink%)
.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.