Item propriété (String)
Gets the ReportParameter that has the specified name from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String _
) As ReportParameter
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- name
Type : System. . :: . .String
The name of the ReportParameter to return.
Valeur de la propriété
Type : Microsoft.AnalysisServices. . :: . .ReportParameter
The ReportParameter specified by name.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | name is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | name does not exist in the collection. |