Share via


INamedComponentCollection.ContainsName(String) Method

Definition

Indicates whether the collection contains a component with the specified name.

public bool ContainsName (string name);
abstract member ContainsName : string -> bool
Public Function ContainsName (name As String) As Boolean

Parameters

name
String

The name of the looked-up component.

Returns

true if a component with the specified name exists in the collection; otherwise, false.

Applies to