INamedComponentCollection.ContainsName(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 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.