IVsTextLines.SetStateFlags(UInt32) 方法

定义

设置文本缓冲区的状态标志。

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

参数

dwReadOnlyFlags
UInt32

中枚举值的按位联合, BUFFERSTATEFLAGS 可以在磁盘上修改、只读或只读。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

实现

注解

COM 签名

从 textmgr:

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

适用于