Condividi tramite


IVsTextStream.SetStateFlags(UInt32) Method

Definition

Sets the state flags of the text buffer.

public:
 int SetStateFlags(System::UInt32 dwReadOnlyFlags);
public:
 int SetStateFlags(unsigned int dwReadOnlyFlags);
int SetStateFlags(unsigned int dwReadOnlyFlags);
public int SetStateFlags (uint dwReadOnlyFlags);
abstract member SetStateFlags : uint32 -> int
Public 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, it returns S_OK. If it fails, it returns an error code.

Implements

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextStream::SetStateFlags(  
   [in] DWORD dwReadOnlyFlags  
);  

Applies to