Compartir a través de


IVsTextBuffer.SetStateFlags (Método)

Establece los indicadores de estado del búfer de texto.

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

Sintaxis

'Declaración
Function SetStateFlags ( _
    dwReadOnlyFlags As UInteger _
) As Integer
int SetStateFlags(
    uint dwReadOnlyFlags
)
int SetStateFlags(
    [InAttribute] unsigned int dwReadOnlyFlags
)
abstract SetStateFlags : 
        dwReadOnlyFlags:uint32 -> int
function SetStateFlags(
    dwReadOnlyFlags : uint
) : int

Parámetros

  • dwReadOnlyFlags
    Tipo: UInt32

    [in] Combinación bit a bit de los valores de BUFFERSTATEFLAGS de enumeración, que se pueden modificar, de sólo lectura, o de sólo lectura en el disco.

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 IVsTextBuffer::SetStateFlags(
   [in] DWORD dwReadOnlyFlags
);

Seguridad de .NET Framework

Vea también

Referencia

IVsTextBuffer Interfaz

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