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#

protected virtual int GetLastLineWithText(
	string[] value
)

VB

Protected Overridable Function GetLastLineWithText ( 
	value As String()
) As Integer

C++

protected:
virtual int GetLastLineWithText(
	array<String^>^ value
)

F#

abstract GetLastLineWithText : 
        value : string[] -> int 
override GetLastLineWithText : 
        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