Gets text part marked with specified ID at specified index.

Namespace: Sgry.Azuki
Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248

Syntax

C#
public string GetMarkedText(
	int index,
	int markingID
)
Visual Basic
Public Function GetMarkedText ( 
	index As Integer,
	markingID As Integer
) As String

Parameters

index
Type: System..::..Int32
The marked text part at this index will be retrieved.
markingID
Type: System..::..Int32
The text part marked with this ID will be retrieved.

Return Value

Type: String
The text if found, otherwise null.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeException Parameter index is out of valid range. - OR - Parameter markingID is out of valid range.
System..::..ArgumentException Parameter markingID is not registered in Marking class.

See Also