RichText.Insert

Insert(int, string)

Insère une chaîne spécifiée à une position d’index spécifiée dans cette instance.

public RichText Insert(int startIndex, string value)
ParamètreTaperLa description
startIndexInt32L’index de départ.
valueStringLa valeur.

Return_Value

LeRichText .

Exceptions

exceptioncondition
ArgumentOutOfRangeException

Voir également


Insert(int, string, TextStyle)

Insère une chaîne spécifiée avec un style spécifié à une position d’index spécifiée dans cette instance.

public RichText Insert(int startIndex, string value, TextStyle style)
ParamètreTaperLa description
startIndexInt32L’index de départ.
valueStringLa valeur.
styleTextStyleLe style.

Return_Value

LeRichText .

Exceptions

exceptioncondition
ArgumentOutOfRangeException

Voir également