RichText.Remove

Remove(int, int)

Removes specified number of characters in the current instance beginning at a specified position.

public RichText Remove(int startIndex, int count)
ParameterTypeDescription
startIndexInt32The start index.
countInt32The count.

Return Value

The RichText.

Exceptions

exceptioncondition
ArgumentOutOfRangeException

See Also


Remove(int)

Removes all the characters in the current instance, beginning at a specified position and continuing through the last position.

public RichText Remove(int startIndex)
ParameterTypeDescription
startIndexInt32The start index.

Return Value

The RichText.

Exceptions

exceptioncondition
ArgumentOutOfRangeException

See Also