Checks if the collection contains an element with the specified key.
Namespace:
Spire.Doc
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public bool HasKey(
int key
)
Public Function HasKey (
key As Integer
) As Boolean
public:
virtual bool HasKey(
int key
) sealed
abstract HasKey :
key : int -> bool
override HasKey :
key : int -> bool
Parameters
-
key
-
Type:
System
Int32
The key to search for.
Return Value
Type:
Boolean
True if the key is found; otherwise, false.
Implements
IShapeAttrSource
HasKey(Int32)
See Also