Udostępnij przez


Właściwość ServiceContractMappingCollection.Item (Int32)

Pobiera ServiceContractMappingCollection obiektu kolekcja według numeru indeksu.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo.Broker
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ServiceContractMapping
    Get
'Użycie
Dim instance As ServiceContractMappingCollection
Dim index As Integer
Dim value As ServiceContractMapping

value = instance(index)
public ServiceContractMapping this[
    int index
] { get; }
public:
property ServiceContractMapping^ default[int index] {
    ServiceContractMapping^ get (int index);
}
member Item : ServiceContractMapping
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.

Parametry

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Smo.Broker.ServiceContractMapping
A ServiceContractMapping wartość obiektu, który reprezentuje typ komunikatu, która jest skojarzona z kontrakt.