IVsLineAttributes.SetLineSeparator(Int32[], Int32, Int32) 方法

定义

设置行分隔符。

public:
 int SetLineSeparator(cli::array <int> ^ rgLines, int cLines, int fRemoveAll);
public:
 int SetLineSeparator(Platform::Array <int> ^ rgLines, int cLines, int fRemoveAll);
int SetLineSeparator(std::Array <int> const & rgLines, int cLines, int fRemoveAll);
public int SetLineSeparator (int[] rgLines, int cLines, int fRemoveAll);
abstract member SetLineSeparator : int[] * int * int -> int
Public Function SetLineSeparator (rgLines As Integer(), cLines As Integer, fRemoveAll As Integer) As Integer

参数

rgLines
Int32[]

中为其设置了分隔符的行。

cLines
Int32

中行分隔符的数目。

fRemoveAll
Int32

中指示删除所有行分隔符的标志。

返回

Int32

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

注解

COM 签名

从 textmgr:

HRESULT IVsLineAttributes::SetLineSeparator(  
   [in] long *rgLines,  
   [in] long cLines,  
   [in]BOOL fRemoveAll  
);  

适用于