TextRange Structure

Définition

Représente une sélection de contenu texte.

public value class TextRange
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
struct TextRange
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
public struct TextRange
Public Structure TextRange
Héritage
TextRange
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 Fall Creators Update (introduit dans 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v5.0)

Champs

Length

Longueur de la sélection actuelle, en caractères Unicode.

StartIndex

Position qui marque le début de la sélection actuelle, mesurée en caractères Unicode à partir du début du texte.

S’applique à