IVsTextBuffer.GetStateFlags(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);