Share via


CollectionItemCollection.Item Property (String)

Gets the name of the collection item.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As CollectionItem 
    Get
'Usage
Dim instance As CollectionItemCollection 
Dim name As String 
Dim value As CollectionItem 

value = instance(name)
public CollectionItem this[
    string name
] { get; }
public:
property CollectionItem^ default[String^ name] {
    CollectionItem^ get (String^ name);
}
member Item : CollectionItem
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Collector.CollectionItem
A Sting value that is the name of the collection item.

Remarks

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

See Also

Reference

CollectionItemCollection Class

Item Overload

Microsoft.SqlServer.Management.Collector Namespace