CosDictionary.ContainsKey Method

Determines whether this CosDictionary contains the specified key.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public bool ContainsKey(
	string key
)
VB
Public Function ContainsKey ( 
	key As String
) As Boolean

Parameters

key
Type: System.String
The key to locate in the dictionary.

Return Value

Type: Boolean
true if the dictionary contains an element with the specified key; otherwise, false.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe key is null.

Remarks

The key must not be null and should not start with a leading slash. Characters in the key should not be escaped. Empty string (string.Empty) is a valid key.

See Also