Edit

Share via


UIActionSheet.ButtonTitle(nint) Method

Definition

Retrieves the title of a button at a specified index.

[Foundation.Export("buttonTitleAtIndex:")]
public virtual string ButtonTitle (nint index);
abstract member ButtonTitle : nint -> string
override this.ButtonTitle : nint -> string

Parameters

index
System.System.IntPtr System.nativeint

The index of a button to retrieve the title of.

Returns

The title of a button at a given index.

Attributes

Remarks

Button indices are zero based. They start at zero and increment by one for each button that is added.

Applies to