IStringable Interface
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Fournit un moyen de représenter l’objet actuel sous la forme d’une chaîne.
public interface class IStringable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2520162132, 36534, 18672, 171, 206, 193, 178, 17, 230, 39, 195)]
struct IStringable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
[Windows.Foundation.Metadata.Guid(2520162132, 36534, 18672, 171, 206, 193, 178, 17, 230, 39, 195)]
public interface IStringable
Public Interface IStringable
- Dérivé
- Attributs
Configuration requise pour Windows
Famille d’appareils |
Windows 10 (introduit dans 10.0.10240.0)
|
API contract |
Windows.Foundation.FoundationContract (introduit dans v1.0)
|
Remarques
Important
Les types managés ne doivent pas implémenter l’interface IStringable. Pour plus d’informations, consultez Méthode Object.ToString.
Méthodes
ToString() |
Obtient une chaîne qui représente l’objet actuel. |
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour