Compartir a través de


IVsTextStream.GetStateFlags (Método)

Devuelve 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 GetStateFlags ( _
    <OutAttribute> ByRef pdwReadOnlyFlags As UInteger _
) As Integer
int GetStateFlags(
    out uint pdwReadOnlyFlags
)
int GetStateFlags(
    [OutAttribute] unsigned int% pdwReadOnlyFlags
)
abstract GetStateFlags : 
        pdwReadOnlyFlags:uint32 byref -> int
function GetStateFlags(
    pdwReadOnlyFlags : uint
) : int

Parámetros

  • pdwReadOnlyFlags
    Tipo: UInt32%

    [out] unión Bit-sabia 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 IVsTextStream::GetStateFlags(
   [out] DWORD *pdwReadOnlyFlags
);

Seguridad de .NET Framework

Vea también

Referencia

IVsTextStream Interfaz

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