Delen via


RoleMemberCollection.Item Property

Gets or sets the element at the specified index.

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

Syntax

'Declaration
Public Default Property Item ( _
    index As Integer _
) As RoleMember 
    Get 
    Set
'Usage
Dim instance As RoleMemberCollection 
Dim index As Integer 
Dim value As RoleMember 

value = instance(index)

instance(index) = value
public RoleMember this[
    int index
] { get; set; }
public:
property RoleMember^ default[int index] {
    RoleMember^ get (int index);
    void set (int index, RoleMember^ value);
}
member Item : RoleMember with get, set
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.AnalysisServices.RoleMember
The element at the specified index.

See Also

Reference

RoleMemberCollection Class

Microsoft.AnalysisServices Namespace