_Table.GetRowCount Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Obtains the number of rows in the Table.
public:
int GetRowCount();
public int GetRowCount ();
Public Function GetRowCount () As Integer
Returns
An Integer (int in C#) value that represents the number of rows in the Table.
Remarks
GetRowCount on a large table will result in a performance impact. Due to MAPI restrictions (for example, memory constraints for large tables, simultaneous operations on the Table), GetRowCount may not be able to determine the number of rows in the Table, or it may only return an approximate row count. In these cases, GetRowCount will return an error. You should use appropriate error detection for GetRowCount to determine if the call returns an error.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應