Share via


UIActionSheet.ButtonTitle(IntPtr) Method

Definition

Retrieves the title of a button at a specified index.

[Foundation.Export("buttonTitleAtIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual string ButtonTitle(IntPtr index);
[<Foundation.Export("buttonTitleAtIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ButtonTitle : nativeint -> string
override this.ButtonTitle : nativeint -> string

Parameters

index
IntPtr

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