Click or drag to resize

ExternalLineHelpersToTuple Method (String, Int32)

Translate a line of text into a tuple consisting of this line and a corresponding source or target number.

Namespace:  Mavidian.DataConveyer.Common
Assembly:  DataConveyer (in DataConveyer.dll) Version: 3.4.6+1324144ff7
Syntax
public static Tuple<string, int> ToTuple(
	this string line,
	int indexNo
)

Parameters

line
Type: SystemString
A line of text
indexNo
Type: SystemInt32
Either source or target number to assign.

Return Value

Type: TupleString, Int32
A tuple consisting of the same line and a corresponding source or target number.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also