INamedComponentCollection.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.
Indicates whether the collection contains a component with the specified ID.
public bool Contains (string id);
abstract member Contains : string -> bool
Public Function Contains (id As String) As Boolean
Parameters
- id
- String
The ID of the looked-up component.
Returns
true if the identified component exists in the collection; otherwise, false.