Share via


NamedComponentCollection.Contains(String) Method

Definition

Determines whether an item with the specific key is in the NamedComponentCollection.

public bool Contains (string id);
override this.Contains : string -> bool
Public Function Contains (id As String) As Boolean

Parameters

id
String

The identifier to locate in the NamedComponentCollection.

Returns

true if the id found in the NamedComponentCollection; otherwise, false.

Implements

Applies to