INamedComponentCollection.Contains(String) Method

Definition

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.

Applies to