Spread Windows Forms 12.0 Product Documentation
ContainsKey Method (NamedObjectCollection<T>)

GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > NamedObjectCollection<T> Class : ContainsKey Method
The key to locate in the collection.
Determines whether the NamedObjectCollection<T> collection contains an item with the specified key.
Public Overridable Function ContainsKey( _
   ByVal name As String _
) As Boolean
Dim instance As NamedObjectCollection(Of T)
Dim name As String
Dim value As Boolean
value = instance.ContainsKey(name)
public virtual bool ContainsKey( 
   string name


The key to locate in the collection.

Return Value

true if the collection contains an INamedObject typed item with the specified name; otherwise, false.
See Also


NamedObjectCollection<T> Class
NamedObjectCollection<T> Members