ツリー ビュー コントロールのアイテム数を取得します。
UINT GetCount( ) const;
戻り値
ツリー ビュー コントロールのアイテムの数を返します。
使用例
// Delete all of the items from the tree control.
m_TreeCtrl.DeleteAllItems();
ASSERT(m_TreeCtrl.GetCount() == 0);
必要条件
**ヘッダー:**afxcmn.h
このブラウザーはサポートされなくなりました。
Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。
ツリー ビュー コントロールのアイテム数を取得します。
UINT GetCount( ) const;
ツリー ビュー コントロールのアイテムの数を返します。
// Delete all of the items from the tree control.
m_TreeCtrl.DeleteAllItems();
ASSERT(m_TreeCtrl.GetCount() == 0);
**ヘッダー:**afxcmn.h