GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace / TimeSpanDisplayFieldCollection Class / ContainsKey Method
The key to locate in the collection.


In This Topic
ContainsKey Method (TimeSpanDisplayFieldCollection)
In This Topic
Determines whether the GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection<T> collection contains an item with the specified key.
Syntax
'Declaration
 
Public Overridable Function ContainsKey( _
   ByVal name As String _
) As Boolean
 
'Usage
 
Dim instance As TimeSpanDisplayFieldCollection
Dim name As String
Dim value As Boolean
 
value = instance.ContainsKey(name)

Parameters

name
The key to locate in the collection.

Return Value

true if the collection contains an GrapeCity.Win.Spread.InputMan.CellType.INamedObject typed item with the specified name; otherwise, false.
See Also