NamedComponentCollection.Contains(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.