共用方式為


IVsLineAttributes.SetLineSeparator Method

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

Syntax

'宣告
Function SetLineSeparator ( _
    rgLines As Integer(), _
    cLines As Integer, _
    fRemoveAll As Integer _
) As Integer
'用途
Dim instance As IVsLineAttributes
Dim rgLines As Integer()
Dim cLines As Integer
Dim fRemoveAll As Integer
Dim returnValue As Integer

returnValue = instance.SetLineSeparator(rgLines, _
    cLines, fRemoveAll)
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

IVsLineAttributes Members

Microsoft.VisualStudio.TextManager.Interop Namespace