RichText.Remove

Remove(int, int)

Tar bort specificerat antal tecken i den aktuella instansen som börjar på en angiven position.

public RichText Remove(int startIndex, int count)
ParameterTypBeskrivning
startIndexInt32Startindex.
countInt32Antalet.

Returvärde

DenRichText .

Undantag

undantagskick
ArgumentOutOfRangeException

Se även


Remove(int)

Tar bort alla tecken i den aktuella instansen, börjar på en angiven position och fortsätter genom den sista positionen.

public RichText Remove(int startIndex)
ParameterTypBeskrivning
startIndexInt32Startindex.

Returvärde

DenRichText .

Undantag

undantagskick
ArgumentOutOfRangeException

Se även