ObjectQuery.IListSource.ContainsListCollection 屬性
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
取得值,指出此查詢是否包含查詢物件的集合。
命名空間: System.Data.Entity.Core.Objects
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private ReadOnly Property ContainsListCollection As Boolean
Implements IListSource.ContainsListCollection
Get
'用途
Dim instance As ObjectQuery
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.
屬性值
類型:System.Boolean
如果此查詢包含查詢物件的集合,則為 true,否則為 false。
Implements
IListSource.ContainsListCollection