IVsLineAttributes.SetLineSeparator Method
Sets the line separator.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function SetLineSeparator ( _
rgLines As Integer(), _
cLines As Integer, _
fRemoveAll As Integer _
) As Integer
int SetLineSeparator(
int[] rgLines,
int cLines,
int fRemoveAll
)
int SetLineSeparator(
[InAttribute] array<int>^ rgLines,
[InAttribute] int cLines,
[InAttribute] int fRemoveAll
)
abstract SetLineSeparator :
rgLines:int[] *
cLines:int *
fRemoveAll:int -> int
function SetLineSeparator(
rgLines : int[],
cLines : int,
fRemoveAll : int
) : int
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.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsLineAttributes::SetLineSeparator(
[in] long *rgLines,
[in] long cLines,
[in]BOOL fRemoveAll
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.