语言

CollectionItemCollection 类

定义

集合项对象的 SFC 集合类

public sealed class CollectionItemCollection : Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollatedDictionaryCollection<Microsoft.SqlServer.Management.Collector.CollectionItem,Microsoft.SqlServer.Management.Collector.CollectionItem.Key,Microsoft.SqlServer.Management.Collector.CollectionSet>
type CollectionItemCollection = class
    inherit SfcCollatedDictionaryCollection<CollectionItem, CollectionItem.Key, CollectionSet>
Public NotInheritable Class CollectionItemCollection
Inherits SfcCollatedDictionaryCollection(Of CollectionItem, CollectionItem.Key, CollectionSet)
继承

构造函数

名称 说明
CollectionItemCollection(CollectionSet)

在给定 CollectionSet 的情况下初始化 CollectionItemCollection 的新实例

属性

名称 说明
Ascending

按升序对当前集合区域性进行排序。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
Count

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
CultureInfo

对集合进行排序将使用此.NET区域性信息。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
IgnoreCase

以不区分大小写的方式对当前集合区域性进行排序。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
Initialized

集合项对象的 SFC 集合类

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

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
IsSynchronized

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
Item[K]

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
Item[String]

按名称获取 CollectionItem

Parent

集合项对象的 SFC 集合类

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

集合项对象的 SFC 集合类

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

方法

名称 说明
Add(T)

将 obj 添加到集合

(继承自 SfcCollection<T,K,ParentT>)
AddCollectionItem(CollectionItem)

将项显式添加到集合。 TODO:这是 SFC v2 之前的临时解决方案。

AddImpl(T)

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
AddShadow(T)

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
Clear()

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
Contains(K)

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
Contains(T)

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
CopyTo(Array, Int32)

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
CopyTo(T[], Int32)

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
CreateAndInitializeChildObject(K)

集合项对象的 SFC 集合类

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

集合项对象的 SFC 集合类

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

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
GetCollectionElementNameImpl()

集合项对象的 SFC 集合类

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

集合项对象的 SFC 集合类

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

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
GetExistingObjectByKey(K)

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
GetObjectByKey(K)

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
InitInnerCollection()

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
PrepareMerge()

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
Refresh()

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
Refresh(Boolean)

集合项对象的 SFC 集合类

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

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
RemoveCollectionItem(CollectionItem)

显式从集合 TODO 中删除项:这是一个临时解决方案,直到 SFC v2

RemoveImpl(T)

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
RemoveInternal(T)

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

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

集合项对象的 SFC 集合类

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

如果任何 CultureInfo、IgnoreCase 或 Ascending 属性在初始化后更改,请调用此属性。 集合重置为遵循新设置。 TODO:用户负责在更改所需的任何属性后调用此功能,应自动执行此操作。

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

集合项对象的 SFC 集合类

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)

显式接口实现

名称 说明
IComparer<K>.Compare(K, K)

根据当前 CultureInfo 和 IgnoreCase 属性比较键,除非传入了自定义比较器。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
IEnumerable.GetEnumerator()

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
IListSource.ContainsListCollection

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
IListSource.GetList()

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Add(SfcInstance)

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.AddShadow(SfcInstance)

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Count

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.EnsureInitialized()

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.FinishMerge()

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.GetCollectionElementNameImpl()

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.GetElementFactory()

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.GetExisting(SfcKey, SfcInstance)

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.GetObjectByKey(SfcKey)

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Initialized

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Parent

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.PrepareMerge()

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Remove(SfcInstance)

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.RemoveElement(SfcInstance)

集合项对象的 SFC 集合类

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Rename(SfcInstance, SfcKey)

集合项对象的 SFC 集合类

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

适用于