Udostępnij za pośrednictwem


IVsLineAttributes.SetLineSeparator(Int32[], Int32, Int32) Method

Definition

Sets the line separator.

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

Parameters

rgLines
Int32[]

[in] Lines for which separator is set.

cLines
Int32

[in] Number of line separators.

fRemoveAll
Int32

[in] Flag indicating that all line separators be removed.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

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

Applies to