CDataSectionElementsCollection.Contains Method (string, string)CDataSectionElementsCollection.Contains Method (String, String)CDataSectionElementsCollection::Contains Method (String^, String^)

Returns a value indicating whether the current collection contains the specified qualified name.

Syntax

Public Function Contains( _
    localName As String, _
    ns As String _
) As Boolean
public bool Contains(
    string localName,
    string ns
)
public:
bool Contains(
    String^ localName, 
    String^ ns
)
 

Parameters

localName

Type: System.StringSystem.StringSystem::String^

The local part of the qualified name.

ns

Type: System.StringSystem.StringSystem::String^

The namespace of the qualified name.

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

Returns trueTruetrue if the current collection contains the specified qualified name; otherwise falseFalsefalse.