Share via


CollectionItemCollection.AddCollectionItem Method

Adds a collection item to the collection set.

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
Public Sub AddCollectionItem ( _
    item As CollectionItem _
)
'Usage
Dim instance As CollectionItemCollection
Dim item As CollectionItem

instance.AddCollectionItem(item)
public void AddCollectionItem(
    CollectionItem item
)
public:
void AddCollectionItem(
    CollectionItem^ item
)
member AddCollectionItem : 
        item:CollectionItem -> unit 
public function AddCollectionItem(
    item : CollectionItem
)

Parameters

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.