Item-Eigenschaft (String)
Gets the ReportParameter that has the specified name from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As ReportParameter
Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- name
Typ: System. . :: . .String
The name of the ReportParameter to return.
Eigenschaftswert
Typ: Microsoft.AnalysisServices. . :: . .ReportParameter
The ReportParameter specified by name.
Ausnahmen
Ausnahme | Bedingung |
---|---|
ArgumentNullException | name is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | name does not exist in the collection. |
Siehe auch