IVsTextBuffer.GetStateFlags(UInt32) IVsTextBuffer.GetStateFlags(UInt32) IVsTextBuffer.GetStateFlags(UInt32) IVsTextBuffer.GetStateFlags(UInt32) IVsTextBuffer.GetStateFlags(UInt32) Method

Definition

Returns the state flags of the text buffer.

public:
 int GetStateFlags([Runtime::InteropServices::Out] System::UInt32 % pdwReadOnlyFlags);
int GetStateFlags([Runtime::InteropServices::Out] unsigned int & pdwReadOnlyFlags);
public int GetStateFlags (out uint pdwReadOnlyFlags);
abstract member GetStateFlags :  -> int
Public Function GetStateFlags (ByRef pdwReadOnlyFlags As UInteger) As Integer

Parameters

pdwReadOnlyFlags
UInt32 UInt32 UInt32 UInt32 UInt32

[out] Bit-wise union of the enumeration BUFFERSTATEFLAGS values, which can be modified, read-only, or read-only on disk.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextBuffer::GetStateFlags(  
   [out] DWORD *pdwReadOnlyFlags  
);  

Applies to