Share via


MapInfoCollection.Item Property (String)

Gets the MapInfo object with the specified name.

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

Syntax

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

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

Parameters

Property Value

Type: Microsoft.SqlServer.Management.XEvent.MapInfo
The MapInfo object specified by the name parameter.

See Also

Reference

MapInfoCollection Class

Item Overload

Microsoft.SqlServer.Management.XEvent Namespace