Share via


CGPDFArray.GetDictionary 方法

定义

重载

GetDictionary(Int32, CGPDFDictionary)

返回数组中指定索引处的 dictionary 元素。

GetDictionary(nint, CGPDFDictionary)

GetDictionary(Int32, CGPDFDictionary)

返回数组中指定索引处的 dictionary 元素。

public bool GetDictionary (int idx, out CoreGraphics.CGPDFDictionary result);
member this.GetDictionary : int *  -> bool

参数

idx
Int32

要访问的元素的索引。

result
CGPDFDictionary

如果位置 idx 处的元素是字典,则会包含生成的字典。

返回

如此 如果位于给定位置的元素是指定类型,并且结果在 out 参数上设置;如果尝试访问超出边界的元素,或者位于该位置的元素是另一种类型,则为 False。

适用于

GetDictionary(nint, CGPDFDictionary)

public bool GetDictionary (nint idx, out CoreGraphics.CGPDFDictionary result);
member this.GetDictionary : nint *  -> bool

参数

idx
System.System.IntPtr System.nativeint

返回

适用于