EntityCollection<TEntity>.IListSource.ContainsListCollection 屬性
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
IListSource.ContainsListCollection 實作。 一律傳回 false。 這表示我們傳回的 IList 包含實際資料,而不是集合清單。
命名空間: System.Data.Entity.Core.Objects.DataClasses
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private ReadOnly Property ContainsListCollection As Boolean
Implements IListSource.ContainsListCollection
Get
'用途
Dim instance As EntityCollection
Dim value As Boolean
value = CType(instance, IListSource).ContainsListCollection
[SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
bool IListSource.ContainsListCollection { get; }
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
private:
virtual property bool ContainsListCollection {
bool get () sealed = IListSource::ContainsListCollection::get;
}
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private abstract ContainsListCollection : bool
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private override ContainsListCollection : bool
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
屬性值
Implements
IListSource.ContainsListCollection