共用方式為


IUIPickerViewDataSource.GetRowsInComponent(UIPickerView, nint) 方法

定義

指定元件中的資料列數目。

[Foundation.Export("pickerView:numberOfRowsInComponent:")]
[Foundation.Preserve(Conditional=true)]
public nint GetRowsInComponent (UIKit.UIPickerView pickerView, nint component);
abstract member GetRowsInComponent : UIKit.UIPickerView * nint -> nint

參數

pickerView
UIPickerView
component
System.System.IntPtr System.nativeint

傳回

System.System.IntPtr System.nativeint
屬性

適用於