Gets the MapInfo object with the specified name.
命名空間: Microsoft.SqlServer.Management.XEvent
組件: Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)
語法
'宣告
Public ReadOnly Default Property Item ( _
name As String _
) As MapInfo
Get
'用途
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 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- name
型別:System.String
A string that contains the name.
屬性值
型別:Microsoft.SqlServer.Management.XEvent.MapInfo
The MapInfo object specified by the name parameter.