共用方式為


UIPickerViewModel.GetTitle(UIPickerView, nint, nint) 方法

定義

應用程式開發人員會實作這個方法,以提供指定元件中指定資料列的標題。

[Foundation.Export("pickerView:titleForRow:forComponent:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual string GetTitle (UIKit.UIPickerView pickerView, nint row, nint component);
abstract member GetTitle : UIKit.UIPickerView * nint * nint -> string
override this.GetTitle : UIKit.UIPickerView * nint * nint -> string

參數

pickerView
UIPickerView
row
System.System.IntPtr System.nativeint
component
System.System.IntPtr System.nativeint

傳回

屬性

適用於