Condividi tramite


Proprietà ReportParameterCollection.Item (String)

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

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    name As String _
) As ReportParameter 
    Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

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

Eccezioni

Eccezione Condizione
ArgumentNullException

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

ItemNotFoundException

name does not exist in the collection.

Vedere anche

Riferimento

ReportParameterCollection Classe

Overload Item

Spazio dei nomi Microsoft.AnalysisServices