CGPDFDictionary.GetInt(String, nint) 方法

定义

在字典中按名称查找整数值。

public bool GetInt (string key, out nint result);
member this.GetInt : string *  -> bool

参数

key
String

要从字典中获取的元素的名称。

result
System.System.IntPtr System.nativeint

如果函数返回 true,则为整数。

返回

如果在字典上找到值,并将 out 参数设置为值,则为 true。 如果值为 false,则 out 参数的结果为未定义。

适用于