Свойство TypeInfoCollection.Item (String)
Gets the TypeInfo 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 TypeInfo
Get
'Применение
Dim instance As TypeInfoCollection
Dim name As String
Dim value As TypeInfo
value = instance(name)
public TypeInfo this[
string name
] { get; }
public:
virtual property TypeInfo^ default[String^ name] {
TypeInfo^ get (String^ name) sealed;
}
abstract Item : TypeInfo
override Item : TypeInfo
JScript поддерживает использование индексированных свойств, но не объявление новых.
Параметры
- name
Тип: System.String
A string value that specifies the name.
Значение свойства
Тип: Microsoft.SqlServer.Management.XEvent.TypeInfo
Returns True if the collection contains the TypeInfo object with the specified name, otherwise False.