Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictExt Class / TryGetValue Method
The current dictionary.
The key of the value.
OUT: The value.

In This Topic
    TryGetValue Method (IPdfDictExt)
    In This Topic
    Tries to get a value with specified key. The method does not perform any processing of the value and returns it as is.
    Syntax
    'Declaration
     
    Public Shared Function TryGetValue( _
       ByVal dict As IPdfDict, _
       ByVal key As PdfName, _
       ByRef value As IPdfObject _
    ) As System.Boolean
    public static System.bool TryGetValue( 
       IPdfDict dict,
       PdfName key,
       out IPdfObject value
    )

    Parameters

    dict
    The current dictionary.
    key
    The key of the value.
    value
    OUT: The value.

    Return Value

    true if value exists, false otherwise.
    See Also