IVsLineAttributes::SetLineSeparator Method (array<Int32>^, Int32, Int32)

 

Sets the line separator.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int SetLineSeparator(
	array<int>^ rgLines,
	int cLines,
	int fRemoveAll
)

Parameters

rgLines
Type: array<System::Int32>^

[in] Lines for which separator is set.

cLines
Type: System::Int32

[in] Number of line separators.

fRemoveAll
Type: System::Int32

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

Return Value

Type: System::Int32

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

From textmgr.idl:

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