CosPdfDictionary.TryGetValue

CosPdfDictionary.TryGetValue metod

För åtkomst till enkla datatyper som sträng, namn, bool, nummer. Returnerar null för andra typer.

public bool TryGetValue(string key, out ICosPdfPrimitive value)
ParameterTypBeskrivning
keySträngNyckelvärde
valueICosPdfPrimitive&returnerar ICosPdfPrimitive för nyckel eller null.

Returvärde

Returnerar true om ICosPdfPrimitive är som sträng, namn, bool, nummer. Returnerar false för alla andra typer.

Se Även