다음을 통해 공유


VsTextBufferClass.IVsTextLines_SetStateFlags Method

Sets the state flags of the text buffer.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

‘선언
Public Overridable Function IVsTextLines_SetStateFlags ( _
    dwReadOnlyFlags As UInteger _
) As Integer
public virtual int IVsTextLines_SetStateFlags(
    uint dwReadOnlyFlags
)
public:
virtual int IVsTextLines_SetStateFlags(
    [InAttribute] unsigned int dwReadOnlyFlags
)
abstract IVsTextLines_SetStateFlags : 
        dwReadOnlyFlags:uint32 -> int 
override IVsTextLines_SetStateFlags : 
        dwReadOnlyFlags:uint32 -> int 
public function IVsTextLines_SetStateFlags(
    dwReadOnlyFlags : uint
) : int

Parameters

  • dwReadOnlyFlags
    Type: System.UInt32
    [in] Bitwise union of the enumeration BUFFERSTATEFLAGS values, which can be modified, read-only, or read-only on disk.

Return Value

Type: System.Int32
If the method succeeds, returns S_OK; otherwise, returns an error code.

Implements

IVsTextLines.SetStateFlags(UInt32)

.NET Framework Security

See Also

Reference

VsTextBufferClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace