共用方式為


CGPDFArray.GetString 方法

定義

多載

GetString(Int32, String)

傳回陣列中位於指定索引處的字串專案。

GetString(nint, String)

GetString(Int32, String)

傳回陣列中位於指定索引處的字串專案。

public bool GetString (int idx, out string result);
member this.GetString : int *  -> bool

參數

idx
Int32

我們想要存取之專案的索引。

result
String

如果位於位置 idx 的專案是字串,這將會包含產生的值。

傳回

True 是表示 如果位於指定位置的專案是指定的型別,而且結果是在 out 參數上設定;如果嘗試存取超出界限的專案,或位於該位置的專案屬於不同的類型,則為 False。

適用於

GetString(nint, String)

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

參數

idx
System.System.IntPtr System.nativeint
result
String

傳回

適用於