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
- rgLines
Type: array<System.Int32[]
[in]
- cLines
Type: System.Int32
[in]
- fRemoveAll
Type: System.Int32
[in]
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.