Bagikan melalui


IVsLineAttributes.SetLineSeparator Method

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

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

See Also

Reference

IVsLineAttributes Interface

Microsoft.VisualStudio.TextManager.Interop Namespace