CosDictionary.Item Property

Gets the value associated with the specified key.

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

Syntax

C#
public CosObject this[
	string key
] { get; }
VB
Public ReadOnly Default Property Item ( 
	key As String
) As CosObject
	Get

Parameters

key
Type: System.String
The key of the value to get.

Return Value

Type: CosObject
The value associated with the specified key. If the specified key is not found, a get operation throws a KeyNotFoundException

Exceptions

ExceptionCondition
ArgumentNullExceptionThe key is null.
KeyNotFoundException The key does not exist in the dictionary.

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