Partilhar via


VsTextBufferClass.GetStateFlags(UInt32) Method

Definition

Returns the state flags of the text buffer.

public:
 virtual int GetStateFlags([Runtime::InteropServices::Out] System::UInt32 % pdwReadOnlyFlags) = Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer::GetStateFlags;
public:
 virtual int GetStateFlags([Runtime::InteropServices::Out] System::UInt32 % pdwReadOnlyFlags);
 virtual int GetStateFlags([Runtime::InteropServices::Out] unsigned int & pdwReadOnlyFlags);
public virtual int GetStateFlags (out uint pdwReadOnlyFlags);
abstract member GetStateFlags : uint32 -> int
override this.GetStateFlags : uint32 -> int
Public Overridable 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, returns S_OK; otherwise, returns an error code.

Implements

Applies to