语言

SfcDictionaryCollection<T,K,ParentT> 类

定义

public abstract class SfcDictionaryCollection<T,K,ParentT> : Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollection<T,K,ParentT>, System.Collections.Generic.IEnumerable<T> where T : SfcInstance where K : SfcKey where ParentT : SfcInstance
type SfcDictionaryCollection<'T, 'K, 'ParentT (requires 'T :> SfcInstance and 'K :> SfcKey and 'ParentT :> SfcInstance)> = class
    inherit SfcCollection<'T, 'K, 'ParentT (requires 'T :> SfcInstance and 'K :> SfcKey and 'ParentT :> SfcInstance)>
    interface seq<'T (requires 'T :> SfcInstance)>
    interface IEnumerable
Public MustInherit Class SfcDictionaryCollection(Of T, K, ParentT)
Inherits SfcCollection(Of T, K, ParentT)
Implements IEnumerable(Of T)

类型参数

T
K
ParentT
继承
SfcDictionaryCollection<T,K,ParentT>
派生
实现

构造函数

名称 说明
SfcDictionaryCollection<T,K,ParentT>(ParentT)

属性

名称 说明
Count
Initialized (继承自 SfcCollection<T,K,ParentT>)
IsReadOnly
IsSynchronized (继承自 SfcCollection<T,K,ParentT>)
Item[K] (继承自 SfcCollection<T,K,ParentT>)
Parent (继承自 SfcCollection<T,K,ParentT>)
SyncRoot (继承自 SfcCollection<T,K,ParentT>)

方法

名称 说明
Add(T)

将 obj 添加到集合

(继承自 SfcCollection<T,K,ParentT>)
AddImpl(T)
AddShadow(T)
Clear()
Contains(K)
Contains(T)
CopyTo(Array, Int32) (继承自 SfcCollection<T,K,ParentT>)
CopyTo(T[], Int32)
CreateAndInitializeChildObject(K) (继承自 SfcCollection<T,K,ParentT>)
EnsureCollectionInitialized() (继承自 SfcCollection<T,K,ParentT>)
FinishMerge()
GetCollectionElementNameImpl() (继承自 SfcCollection<T,K,ParentT>)
GetElementFactoryImpl() (继承自 SfcCollection<T,K,ParentT>)
GetEnumerator()
GetExistingObjectByKey(K)
GetObjectByKey(K)
InitInnerCollection()
PrepareMerge()
Refresh() (继承自 SfcCollection<T,K,ParentT>)
Refresh(Boolean) (继承自 SfcCollection<T,K,ParentT>)
Remove(T)
RemoveImpl(T)
RemoveInternal(T)

删除键给出的项。 现有对象标记为 ToBeDropped,以便在其父对象被更改或删除时删除。 此时将删除标记的对象。 挂起、无或已删除的对象会立即从集合中删除。

(继承自 SfcCollection<T,K,ParentT>)
Rename(T, K) (继承自 SfcCollection<T,K,ParentT>)
TryGetValue(K, T)

显式接口实现

名称 说明
IEnumerable.GetEnumerator() (继承自 SfcCollection<T,K,ParentT>)
IListSource.ContainsListCollection (继承自 SfcCollection<T,K,ParentT>)
IListSource.GetList() (继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Add(SfcInstance) (继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.AddShadow(SfcInstance) (继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Count (继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.EnsureInitialized() (继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.FinishMerge() (继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.GetCollectionElementNameImpl() (继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.GetElementFactory() (继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.GetExisting(SfcKey, SfcInstance) (继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.GetObjectByKey(SfcKey) (继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Initialized (继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Parent (继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.PrepareMerge() (继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Remove(SfcInstance) (继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.RemoveElement(SfcInstance) (继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Rename(SfcInstance, SfcKey) (继承自 SfcCollection<T,K,ParentT>)

适用于