Partilhar via


Propriedade do RDL Item (String)

Gets or sets the item at the specified key.

Namespace:  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (em Microsoft.ReportingServices.ProcessingCore.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    name As String _
) As StateIndicator
    Get
'Uso
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
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

  • name
    Tipo: System. . :: . .String
    A unique String expression that specifies a name that can be used, instead of a positional index, to access an item of the collection. name must correspond to the Key argument specified when the item was added to the collection.

Valor da propriedade

Tipo: Microsoft.ReportingServices.OnDemandReportRendering. . :: . .StateIndicator
A StateIndicator object that has the specified name.