다음을 통해 공유


IVsTextLayer2.GetEolTextEx Method

Returns a string containing the text line's end-of-line (EOL) marker.

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

Syntax

‘선언
Function GetEolTextEx ( _
    pld As LINEDATAEX(), _
    <OutAttribute> ByRef pbstrEolText As String _
) As Integer
‘사용 방법
Dim instance As IVsTextLayer2
Dim pld As LINEDATAEX()
Dim pbstrEolText As String
Dim returnValue As Integer

returnValue = instance.GetEolTextEx(pld, _
    pbstrEolText)
int GetEolTextEx(
    LINEDATAEX[] pld,
    out string pbstrEolText
)
int GetEolTextEx(
    [InAttribute] array<LINEDATAEX>^ pld, 
    [OutAttribute] String^% pbstrEolText
)
abstract GetEolTextEx : 
        pld:LINEDATAEX[] * 
        pbstrEolText:string byref -> int 
function GetEolTextEx(
    pld : LINEDATAEX[], 
    pbstrEolText : String
) : int

Parameters

  • pbstrEolText
    Type: System.String%
    [out] A string containing the text of the end-of-line marker.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Returns the end-of-line marker from the text line contained in pld. This method extends the IVsTextLayer interface.

.NET Framework Security

See Also

Reference

IVsTextLayer2 Interface

IVsTextLayer2 Members

Microsoft.VisualStudio.TextManager.Interop Namespace