Skip to main content

NamedItemCollection<T>.ContainsName(String) Method

Determines whether an item with the specified name is contained in the collection.

Namespace: DevExpress.DataAccess

Assembly: DevExpress.Dashboard.v24.2.Core.dll

NuGet Package: DevExpress.Dashboard.Core

#Declaration

public bool ContainsName(
    string name
)

#Parameters

Name Type Description
name String

The String that specifies the name of an item.

#Returns

Type Description
Boolean

true, if an item with the specified name is contained in the collection; otherwise, false.

#Remarks

Use the NamedItemCollection`1.Item property to obtain an item by its name.

See Also