Vector<T>.Count プロパティ

定義

ベクターに格納されている要素の数を返します。

public:
 static property int Count { int get(); };
public static int Count { get; }
static member Count : int
static member Count : int
Public Shared ReadOnly Property Count As Integer

プロパティ値

ベクターに格納されている要素の数。

例外

リフレクションを使用したプロパティ ゲッターへのアクセスはサポートされていません。

-又は-

.NET 5 以降: 型 T はサポートされていません。

適用対象