UITableView.NumberOfRowsInSection(nint) Método

Definição

Retorna o número de linhas (células de tabela) em uma determinada seção.

[Foundation.Export("numberOfRowsInSection:")]
public virtual nint NumberOfRowsInSection (nint section);
abstract member NumberOfRowsInSection : nint -> nint
override this.NumberOfRowsInSection : nint -> nint

Parâmetros

section
System.System.IntPtr System.nativeint

O índice da seção a ser consultada. Os índices de seção começam em zero.

Retornos

System.System.IntPtr System.nativeint

Número de linhas na seção.

Atributos

Comentários

UITableView recupera esse valor do (ou UITableViewDataSource) e o UITableViewSource armazena em cache.

Aplica-se a