IVsDocOutlineProvider.OnOutlineStateChange Method
Notifies the client when changes have been made to the document outline state.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
Function OnOutlineStateChange ( _
dwMask As UInteger, _
dwState As UInteger _
) As Integer
'使用
Dim instance As IVsDocOutlineProvider
Dim dwMask As UInteger
Dim dwState As UInteger
Dim returnValue As Integer
returnValue = instance.OnOutlineStateChange(dwMask, _
dwState)
int OnOutlineStateChange(
uint dwMask,
uint dwState
)
int OnOutlineStateChange(
[InAttribute] unsigned int dwMask,
[InAttribute] unsigned int dwState
)
function OnOutlineStateChange(
dwMask : uint,
dwState : uint
) : int
Parameters
dwMask
Type: System.UInt32[in] Value taken from the __VSOUTLINESTATE enumeration.
dwState
Type: System.UInt32[in] Values taken from the __VSOUTLINESTATE enumeration.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsDocOutlineProvider::OnOutlineStateChange(
[in] VSOUTLINESTATES dwMask,
[in] VSOUTLINESTATES dwState
);
Permissions
- 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.