PropertyDataCollection.Count 属性

定义

获取 PropertyDataCollection 中的对象的数目。Gets the number of objects in the PropertyDataCollection.

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

属性值

返回一个 Int32 值,该值表示集合中对象的数目。Returns an Int32 value representing the number of objects in the collection.

实现

注解

属性值Property Value

集合中的对象数。The number of objects in the collection.

.NET Framework 安全性.NET Framework Security

对直接调用方的完全信任。Full trust for the immediate caller. 此成员不能由部分信任的代码使用。This member cannot be used by partially trusted code. 有关详细信息, 请参阅从部分受信任的代码使用库For more information, see Using Libraries from Partially Trusted Code.

适用于

另请参阅