The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
NameScope.ContainsKey Method (String)
.NET Framework (current version)
Returns whether a provided name already exists in this NameScope.
WindowsBase (in WindowsBase.dll)
public bool ContainsKey(
true if the specified key identifies a name for an existing mapping in this NameScope. false if the specified key does not exist in the current NameScope.
Names in a XAML namescope must use a particular grammar that restricts the strings you might use for inputs of NameScope API. See XamlName Grammar.
Return to top
Available since 4.0