MetadataTryGetValue Method |
Tries to find key in the dictionary and retreives value if found.
Namespace: Aspose.PdfAssembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntaxpublic bool TryGetValue(
string key,
out XmpValue value
)
Public Function TryGetValue (
key As String,
<OutAttribute> ByRef value As XmpValue
) As Boolean
public:
virtual bool TryGetValue(
String^ key,
[OutAttribute] XmpValue^% value
) sealed
abstract TryGetValue :
key : string *
value : XmpValue byref -> bool
override TryGetValue :
key : string *
value : XmpValue byref -> bool
Parameters
- key
- Type: SystemString
Key to search in the dictionary. - value
- Type: Aspose.PdfXmpValue
Retreived value.
Return Value
Type:
Booleantrue if key was found.
Implements
IDictionaryTKey, TValueTryGetValue(TKey, TValue)
See Also