TryGetValue

PdfXmpMetadata.TryGetValue method

尝试在字典中查找键,如果找到则检索值。

public bool TryGetValue(string key, out XmpValue value)
范围类型描述
keyString在字典中搜索的键。
valueXmpValue&检索值。

返回值

如果找到密钥则为真。

也可以看看