IVsTextLayer2.GetEolTypeEx Method
Returns the EOLTYPE of the text line's end-of-line marker.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'宣言
Function GetEolTypeEx ( _
pld As LINEDATAEX(), _
<OutAttribute> ByRef piEolType As UInteger _
) As Integer
'使用
Dim instance As IVsTextLayer2
Dim pld As LINEDATAEX()
Dim piEolType As UInteger
Dim returnValue As Integer
returnValue = instance.GetEolTypeEx(pld, _
piEolType)
int GetEolTypeEx(
LINEDATAEX[] pld,
out uint piEolType
)
int GetEolTypeEx(
[InAttribute] array<LINEDATAEX>^ pld,
[OutAttribute] unsigned int% piEolType
)
function GetEolTypeEx(
pld : LINEDATAEX[],
piEolType : uint
) : int
Parameters
- pld
Type: []
piEolType
Type: System.UInt32%[out] A uint member of EOLTYPE. Note that EOLTYPE has been extended with _EOLTYPE2.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
Returns the EOLTYPE of the end-of-line marker terminating the text line contained in pld. This method extends the IVsTextLayer interface.
Permissions
- 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.