Partilhar via


Propriedade do RDL Item (String)

Gets the ReportParameter that has the specified name from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    name As String _
) As ReportParameter
    Get
'Uso
Dim instance As ReportParameterCollection
Dim name As String
Dim value As ReportParameter

value = instance(name)
public ReportParameter this[
    string name
] { get; }
public:
property ReportParameter^ default[String^ name] {
    ReportParameter^ get (String^ name);
}
member Item : ReportParameter
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

Tipo: Microsoft.AnalysisServices. . :: . .ReportParameter
The ReportParameter specified by name.

Exceções

Exceção Condição
ArgumentNullException

name is a null reference (Nothing in Visual Basic).

ItemNotFoundException

name does not exist in the collection.