Share via


ITextRangeProvider.GetText(Int32) Méthode

Définition

Récupère le texte brut de la plage.

public:
 Platform::String ^ GetText(int maxLength);
winrt::hstring GetText(int const& maxLength);
public string GetText(int maxLength);
function getText(maxLength)
Public Function GetText (maxLength As Integer) As String

Paramètres

maxLength
Int32

int

Longueur maximale de la chaîne à retourner. Utilisez – 1 pour spécifier une longueur illimitée.

Retours

String

Platform::String

winrt::hstring

Texte brut de la plage de texte, qui peut représenter une partie de la chaîne complète tronquée au maxLength spécifié.

S’applique à