Partilhar via


VsTextBufferClass.IVsTextLines_SetStateFlags(UInt32) Method

Definition

Sets the state flags of the text buffer.

public:
 virtual int IVsTextLines_SetStateFlags(System::UInt32 dwReadOnlyFlags) = Microsoft::VisualStudio::TextManager::Interop::IVsTextLines::SetStateFlags;
public:
 virtual int IVsTextLines_SetStateFlags(System::UInt32 dwReadOnlyFlags);
public:
 virtual int IVsTextLines_SetStateFlags(unsigned int dwReadOnlyFlags) = Microsoft::VisualStudio::TextManager::Interop::IVsTextLines::SetStateFlags;
 virtual int IVsTextLines_SetStateFlags(unsigned int dwReadOnlyFlags);
public virtual int IVsTextLines_SetStateFlags (uint dwReadOnlyFlags);
abstract member IVsTextLines_SetStateFlags : uint32 -> int
override this.IVsTextLines_SetStateFlags : uint32 -> int
Public Overridable Function IVsTextLines_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.

Applies to