Compartir a través de


IVsHiddenRegion.SetState (Método)

Establece el estado de la región oculta.

Espacio de nombres:  Microsoft.VisualStudio.TextManager.Interop
Ensamblado:  Microsoft.VisualStudio.TextManager.Interop (en Microsoft.VisualStudio.TextManager.Interop.dll)

Sintaxis

'Declaración
Function SetState ( _
    dwState As UInteger, _
    dwUpdate As UInteger _
) As Integer
int SetState(
    uint dwState,
    uint dwUpdate
)
int SetState(
    [InAttribute] unsigned int dwState, 
    [InAttribute] unsigned int dwUpdate
)
abstract SetState : 
        dwState:uint32 * 
        dwUpdate:uint32 -> int
function SetState(
    dwState : uint, 
    dwUpdate : uint
) : int

Parámetros

  • dwState
    Tipo: UInt32

    [in] Estado de la región oculta con respecto a si la región se expande o contrae. Para obtener más información, vea HIDDEN_REGION_STATE.

  • dwUpdate
    Tipo: UInt32

    [in] Estado de la región oculta con respecto a si la región se agrega a la pila de Deshacer/deRehacer . Para obtener más información, vea CHANGE_HIDDEN_REGION_FLAGS.

Valor devuelto

Tipo: Int32
si el método tiene éxito, devuelve S_OK.Si se produce un error, devuelve un código de error.

Comentarios

Prototipo COM

de textmgr.idl:

HRESULT IVsHiddenRegion::SetState(
   [in] DWORD dwState, 
   [in] DWORD dwUpdate
);

Seguridad de .NET Framework

Vea también

Referencia

IVsHiddenRegion Interfaz

Microsoft.VisualStudio.TextManager.Interop (Espacio de nombres)