Edit

Share via


CGPDFArray.GetString Method

Definition

Overloads

GetString(Int32, String)

Returns the string element in the array at the specified index.

GetString(nint, String)

GetString(Int32, String)

Returns the string element in the array at the specified index.

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

Parameters

idx
Int32

Index for the element we want to access.

result
String

If the element at position idx is a string, this will contain the resulting value.

Returns

True if the element at the given position is of the specified type and the result is set on the out parameter; False if you tried to access an out of bounds element, or if the element at that position is of a different type.

Applies to

GetString(nint, String)

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

Parameters

idx
System.System.IntPtr System.nativeint
result
String

Returns

Applies to