Skip to content

M_CommandLine_Text_MultilineTextAttribute_GetLastLineWithText

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

MultilineTextAttribute.GetLastLineWithText Method

Returns the last line with text. Preserves blank lines if user intended by skipping a line.

Namespace:CommandLine.Text
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

protectedvirtualintGetLastLineWithText(string[]value)

VB

ProtectedOverridableFunctionGetLastLineWithText(valueAsString())AsInteger

C++

protected:virtualintGetLastLineWithText( array<String^>^ value )

F#

abstractGetLastLineWithText : value : string[]-> int overrideGetLastLineWithText:value :string[]->int 

Parameters

value
Type: System.String[]
The string array to process.

Return Value

Type: Int32
The last index of line of the non-blank line.

See Also

Reference

MultilineTextAttribute Class
CommandLine.Text Namespace

Clone this wiki locally