Class SourceText

Class SourceText

Le nom : Aspose.Html.Toolkit.Markdown.Syntax.Text Assemblaggio: Aspose.HTML.dll (25.4.0)

La classe de base met en œuvre le SourceText.

[ComVisible(true)]
public abstract class SourceText : IDisposable

Inheritance

object SourceText

Implements

IDisposable

I membri ereditari

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

SourceText()

protected SourceText()

Properties

Encoding

Encore un codage.

public abstract Encoding Encoding { get; }

Valore di proprietà

Encoding

Length

Obtenez la longueur.

public abstract int Length { get; }

Valore di proprietà

int

Lines

Découvrez la collection des lignes.

public TextLineCollection Lines { get; }

Valore di proprietà

TextLineCollection

Span

Obtenez votre espace.

public virtual TextSpan Span { get; }

Valore di proprietà

TextSpan

Ceci[int]

Il obtient la valeur à l’indice donné.

public abstract char this[int position] { get; }

Valore di proprietà

char

Methods

CopyTo(et char[ ], et int, int)

Définissez l’interface pour obtenir SourceText à partir de la ligne de source.

public abstract void CopyTo(int sourceIndex, char[] destination, int destinationIndex, int count)

Parameters

sourceIndex int

La source de l’index.

destination char [ ]

La destination .

destinationIndex int

l’indice de destination.

count int

Le nombre total.

Dispose()

Définir l’interface disposée.

public void Dispose()

Dispose(Boulée)

Définir l’interface de base pour disposer

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

Le boolean dispose de la valeur.

From(Le string)

Définissez l’interface pour obtenir SourceText de la barre.

public static SourceText From(string text)

Parameters

text string

Le texte de string.

Returns

SourceText

Le texte source.

From(Télécharger, Encodage)

Définissez l’interface pour obtenir SourceText de string et de codage.

public static SourceText From(string text, Encoding encoding)

Parameters

text string

Le texte de string.

encoding Encoding

et le codage.

Returns

SourceText

Le texte source.

From(SourceText[])

Définissez l’interface pour obtenir SourceText à partir de la ligne de source.

public static SourceText From(SourceText[] source)

Parameters

source SourceText [ ]

Le texte source.

Returns

SourceText

Le texte source.

GetText()

Définissez l’interface pour obtenir le texte.

public SourceText GetText()

Returns

SourceText

Le texte source.

GetText(TextSpan)

Définissez l’interface pour obtenir le texte.

public virtual SourceText GetText(TextSpan span)

Parameters

span TextSpan

Le texte espagnol.

Returns

SourceText

Le texte source.

GetText(int)

Définissez l’interface pour obtenir le texte.

public SourceText GetText(int start)

Parameters

start int

Le début int.

Returns

SourceText

Le texte source.

Exceptions

ArgumentOutOfRangeException

L’indice est négatif - ou plus grand que la longueur.

ToString()

Il s’agit de la méthode ToString().

public override string ToString()

Returns

string

et le string.

ToString(int)

Il s’agit de la méthode ToString().

public string ToString(int start)

Parameters

start int

L’ensemble commence par la valeur.

Returns

string

Le résultat de la chaîne.

Exceptions

ArgumentOutOfRangeException

L’indice est négatif - ou plus grand que la longueur.

ToString(int, int)

Définir l’interface ToString()

public string ToString(int start, int length)

Parameters

start int

La position de départ.

length int

La lunghezza .

Returns

string

et le string.

ToString(TextSpan)

Définir l’interface ToString()

public virtual string ToString(TextSpan span)

Parameters

span TextSpan

Le texte espagnol.

Returns

string

et le string.

 Français