Table of Contents

Method TryGetValue

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

TryGetValue(int, out PdfItem)

public bool TryGetValue(int index, out PdfItem value)

Parameters

index int
value PdfItem

Returns

bool

TryGetValue(int, out PdfItem, Type?)

  • throws if result is not of type T.
public bool TryGetValue(int index, out PdfItem value, Type? valueType)

Parameters

index int
value PdfItem
valueType Type

Returns

bool

TryGetValue<T>(int, out T)

public bool TryGetValue<T>(int index, out T value) where T : PdfItem

Parameters

index int
value T

Returns

bool

Type Parameters

T