KeyDictionary.Contains MethodKeyDictionary.Contains MethodKeyDictionary::Contains Method

Determines whether the KeyDictionaryKeyDictionaryKeyDictionary contains the specified key.

Syntax

Public Function Contains( _
    name As System.Xml.XmlQualifiedName _
) As Boolean
public bool Contains(
    System.Xml.XmlQualifiedName name
)
public:
bool Contains(
    System.Xml::XmlQualifiedName^ name
)
 

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the KeyDictionaryKeyDictionaryKeyDictionary contains the specified key; otherwise, falseFalsefalse.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionname is null a null reference (Nothing in Visual Basic) nullptr