Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / StyleCollection Class / ContainsKey Method
The key to locate in the BaseKeyCollection.


In This Topic
    ContainsKey Method (StyleCollection)
    In This Topic
    Determines whether the BaseKeyCollection contains a specific key.
    Syntax
    'Declaration
     
    
    Public Overridable Function ContainsKey( _
       ByVal key As String _
    ) As Boolean
    'Usage
     
    
    Dim instance As StyleCollection
    Dim key As String
    Dim value As Boolean
     
    value = instance.ContainsKey(key)
    public virtual bool ContainsKey( 
       string key
    )

    Parameters

    key
    The key to locate in the BaseKeyCollection.

    Return Value

    true if the BaseKeyCollection contains an element with the specified key; otherwise, false.
    See Also