IVsTextImage2.GetEolTextEx Method
Returns a string containing the 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
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
- pld
Type: array<Microsoft.VisualStudio.TextManager.Interop.LINEDATAEX[]
[in] A LINEDATAEX structure.
- pbstrEolText
Type: System.String%
[out] Returns a string containing the text of the EOL marker.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
Returns a string containing the EOL marker in the text line pld.
.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.