XamlObjectWriterSettings.PreferUnconvertedDictionaryKeys Propriété
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.
Obtient ou définit une valeur qui détermine s’il faut désactiver une fonctionnalité par défaut XamlObjectWriter qui exécute la conversion de type sur le K composant d’un Dictionary<TKey,TValue> avant d’écrire la représentation du graphique d’objet.
public:
property bool PreferUnconvertedDictionaryKeys { bool get(); void set(bool value); };
public bool PreferUnconvertedDictionaryKeys { get; set; }
member this.PreferUnconvertedDictionaryKeys : bool with get, set
Public Property PreferUnconvertedDictionaryKeys As Boolean
Valeur de propriété
true si K la conversion de type pour un Dictionary<TKey,TValue> objet doit être désactivée.
false si l’exécution d’une K conversion de type pour un Dictionary<TKey,TValue> objet s’applique. La valeur par défaut est false.
Remarques
Pour plus d’informations sur la fonctionnalité de conversion de K type, consultez Remarques dans XamlObjectWriter.