Udostępnij przez


Właściwość StateIndicatorCollection.Item (String)

Pobiera lub ustawia element w określonym klucz.

Przestrzeń nazw:  Microsoft.ReportingServices.OnDemandReportRendering
Zestaw:  Microsoft.ReportingServices.ProcessingCore (w Microsoft.ReportingServices.ProcessingCore.dll)

Składnia

'Deklaracja
Public ReadOnly Default Property Item ( _
    name As String _
) As StateIndicator
    Get
'Użycie
Dim instance As StateIndicatorCollection
Dim name As String
Dim value As StateIndicator

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

Parametry

  • name
    Typ: System.String
    Unikatowy String wyrażenie, który określa nazwę, który może zostać użyty, zamiast indeksu pozycyjne, dostęp do element kolekcja. namemuszą odpowiadać Key określony argument, gdy element został dodany do kolekcja.

Wartość właściwości

Typ: Microsoft.ReportingServices.OnDemandReportRendering.StateIndicator
A StateIndicator obiekt, który ma określoną nazwę.