CosPdfDictionary.TryGetValue

CosPdfDictionary.TryGetValue-Methode

Für den Zugriff auf einfache Datentypen wie String, Name, Bool, Zahl. Gibt null für andere Typen zurück.

public bool TryGetValue(string key, out ICosPdfPrimitive value)
ParameterTypBeschreibung
keyStringSchlüsselwert
valueICosPdfPrimitive&gibt ICosPdfPrimitive für den Schlüssel oder null zurück.

Rückgabewert

Gibt true zurück, wenn ICosPdfPrimitive wie String, Name, Bool, Zahl ist. Gibt false für alle anderen Typen zurück.

Siehe auch