Partager via


IVsHiddenRegion.GetState Method

Returns the state of the hidden region.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Déclaration
Function GetState ( _
    <OutAttribute> ByRef dwState As UInteger _
) As Integer
'Utilisation
Dim instance As IVsHiddenRegion
Dim dwState As UInteger
Dim returnValue As Integer

returnValue = instance.GetState(dwState)
int GetState(
    out uint dwState
)
int GetState(
    [OutAttribute] unsigned int% dwState
)
abstract GetState : 
        dwState:uint32 byref -> int 
function GetState(
    dwState : uint
) : int

Parameters

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 textmgr.idl:

HRESULT IVsHiddenRegion::GetState(
   [out] DWORD *dwState
);

.NET Framework Security

See Also

Reference

IVsHiddenRegion Interface

IVsHiddenRegion Members

Microsoft.VisualStudio.TextManager.Interop Namespace