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


In This Topic
    ContainsKey Method (ButtonTextCollection)
    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 ButtonTextCollection
    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