Share via


AdomdParameterCollection.IDataParameterCollection.Item Property

Gets or sets the parameter with the specified name.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Private Property Item ( _
    index As String _
) As Object Implements IDataParameterCollection.Item 
    Get 
    Set
'Usage
Dim instance As AdomdParameterCollection 
Dim index As String 
Dim value As Object 

value = CType(instance, IDataParameterCollection).Item(index)

CType(instance, IDataParameterCollection).Item(index) = value
Object IDataParameterCollection.this[
    string index
] { get; set; }
private:
virtual property Object^ Item[String^ index] {
    Object^ get (String^ index) sealed = IDataParameterCollection::Item::get;
    void set (String^ index, Object^ value) sealed = IDataParameterCollection::Item::set;
}
private abstract Item : Object with get, set 
private override Item : Object with get, set
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • index
    Type: System.String
    The name of the parameter to get or set.

Property Value

Type: System.Object
The parameter object with the specified name.

Implements

IDataParameterCollection.Item[String]

See Also

Reference

AdomdParameterCollection Class

Microsoft.AnalysisServices.AdomdClient Namespace