Свойство Item (Int32)
Gets a MessageType object in the collection by index number.
Пространство имен: Microsoft.SqlServer.Management.Smo.Broker
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public ReadOnly Default Property Item ( _
index As Integer _
) As MessageType
Get
'Применение
Dim instance As MessageTypeCollection
Dim index As Integer
Dim value As MessageType
value = instance(index)
public MessageType this[
int index
] { get; }
public:
property MessageType^ default[int index] {
MessageType^ get (int index);
}
member Item : MessageType
JScript поддерживает использование индексированных свойств, но не объявление новых.
Параметры
- index
Тип: System. . :: . .Int32
An Int32 value that specifies the position of the MessageType object in the MessageTypeCollection collection.
Значение свойства
Тип: Microsoft.SqlServer.Management.Smo.Broker. . :: . .MessageType
A MessageType object value that represents the message type.
См. также