GrapeCity MultiRow Windows Forms Documentation
ContainsKey Method


The key to locate in the NamedCellStyleDictionary.
Determines whether the NamedCellStyleDictionary contains an element with the specified key.
Syntax
Public Function ContainsKey( _
   ByVal key As String _
) As Boolean
Dim instance As NamedCellStyleDictionary
Dim key As String
Dim value As Boolean
 
value = instance.ContainsKey(key)
public bool ContainsKey( 
   string key
)

Parameters

key
The key to locate in the NamedCellStyleDictionary.

Return Value

true if the NamedCellStyleDictionary contains an element with the key; otherwise, false.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe key is a null reference (Nothing in Visual Basic).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NamedCellStyleDictionary Class
NamedCellStyleDictionary Members

 

 


Copyright © GrapeCity, inc. All rights reserved.