Lenguaje

XamlObjectWriterSettings.PreferUnconvertedDictionaryKeys Propiedad

Definición

Obtiene o establece un valor que determina si se debe deshabilitar una característica predeterminada XamlObjectWriter que ejecuta la conversión de tipos en el K componente de un Dictionary<TKey,TValue> antes de escribir la representación del gráfico de objetos.

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

Valor de propiedad

true si K se debe deshabilitar la conversión de tipos para un Dictionary<TKey,TValue> objeto. false si se aplica la conversión de K tipos para un Dictionary<TKey,TValue> objeto. El valor predeterminado es false.

Comentarios

Para obtener más información sobre la K característica de conversión de tipos, vea Comentarios en XamlObjectWriter.

Se aplica a