Udostępnij za pośrednictwem


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 : uint32 -> int
Public Function GetStateFlags (ByRef pdwReadOnlyFlags As UInteger) As Integer

Parameters

pdwReadOnlyFlags
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