共用方式為


DataConnectionProperties.ICollection.Count 屬性

擷取在 ICollection所包含的項目數目。

命名空間:  Microsoft.VisualStudio.Data
組件:  Microsoft.VisualStudio.Data (在 Microsoft.VisualStudio.Data.dll 中)

語法

'宣告
Private ReadOnly Property Count As Integer 
    Implements ICollection.Count
int ICollection.Count { get; }
private:
virtual property int Count {
    int get () sealed = ICollection::Count::get;
}
private abstract Count : int with get 
private override Count : int with get
JScript 不支援明確介面實作。

屬性值

類型:Int32
傳回 ICollection 中包含的項目數目。

實作

ICollection.Count

備註

這個方法會提供 Count 屬性的實作。 如需詳細資訊 .NET Framework 在類別庫中看到 Count屬性。

.NET Framework 安全性

請參閱

參考

DataConnectionProperties 類別

Microsoft.VisualStudio.Data 命名空間