BamlLocalizationDictionary.Contains(BamlLocalizableResourceKey) Método

Definición

Determina si un objeto BamlLocalizationDictionary contiene un recurso con una clave especificada.Determines whether a BamlLocalizationDictionary object contains a resource with a specified key.

public:
 bool Contains(System::Windows::Markup::Localizer::BamlLocalizableResourceKey ^ key);
public bool Contains (System.Windows.Markup.Localizer.BamlLocalizableResourceKey key);
member this.Contains : System.Windows.Markup.Localizer.BamlLocalizableResourceKey -> bool
Public Function Contains (key As BamlLocalizableResourceKey) As Boolean

Parámetros

key
BamlLocalizableResourceKey

Clave de recurso que va a buscarse.The resource key to find.

Devoluciones

Boolean

true si el objeto BamlLocalizationDictionary contiene un recurso con la clave especificada; de lo contrario, false.true if the BamlLocalizationDictionary object contains a resource with the specified key; otherwise, false.

Excepciones

la clave es null.key is null.

Se aplica a