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
'Declaration
Public Overridable Function IVsTextLines_SetStateFlags ( _
dwReadOnlyFlags As UInteger _
) As Integer
'Usage
Dim instance As VsTextBufferClass
Dim dwReadOnlyFlags As UInteger
Dim returnValue As Integer
returnValue = instance.IVsTextLines_SetStateFlags(dwReadOnlyFlags)
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
Implements
IVsTextLines.SetStateFlags(UInt32)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.