Partager via


VsTextBufferClass.SetStateFlags(UInt32) Method

Definition

Sets the state flags of the text buffer.

public:
 virtual int SetStateFlags(System::UInt32 dwReadOnlyFlags) = Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer::SetStateFlags;
public:
 virtual int SetStateFlags(System::UInt32 dwReadOnlyFlags);
public:
 virtual int SetStateFlags(unsigned int dwReadOnlyFlags) = Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer::SetStateFlags;
 virtual int SetStateFlags(unsigned int dwReadOnlyFlags);
public virtual int SetStateFlags (uint dwReadOnlyFlags);
abstract member SetStateFlags : uint32 -> int
override this.SetStateFlags : uint32 -> int
Public Overridable Function SetStateFlags (dwReadOnlyFlags As UInteger) As Integer

Parameters

dwReadOnlyFlags
UInt32

[in] Bitwise 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