Share via


AlgorithmParameterCollection.Item Property (String)

Gets the AlgorithmParameter, with 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 AlgorithmParameter 
    Get
'Usage
Dim instance As AlgorithmParameterCollection 
Dim name As String 
Dim value As AlgorithmParameter 

value = instance(name)
public AlgorithmParameter this[
    string name
] { get; }
public:
property AlgorithmParameter^ default[String^ name] {
    AlgorithmParameter^ get (String^ name);
}
member Item : AlgorithmParameter
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.AnalysisServices.AlgorithmParameter
The AlgorithmParameter specified by name.

Exceptions

Exception Condition
ArgumentNullException

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

ItemNotFoundException

name does not exist in the collection.

See Also

Reference

AlgorithmParameterCollection Class

Item Overload

Microsoft.AnalysisServices Namespace