다음을 통해 공유


Item 속성

Gets or sets the specified AdomdRestriction from the collection by its index. In Microsoft Visual C#, this property is the indexer for the AdomdRestrictionCollection class.

네임스페이스:  Microsoft.AnalysisServices.AdomdClient
어셈블리:  Microsoft.AnalysisServices.AdomdClient(Microsoft.AnalysisServices.AdomdClient.dll)

구문

‘선언
Public Default Property Item ( _
    index As Integer _
) As AdomdRestriction
    Get
    Set
‘사용 방법
Dim instance As AdomdRestrictionCollection
Dim index As Integer
Dim value As AdomdRestriction

value = instance(index)

instance(index) = value
public AdomdRestriction this[
    int index
] { get; set; }
public:
property AdomdRestriction^ default[int index] {
    AdomdRestriction^ get (int index);
    void set (int index, AdomdRestriction^ value);
}
member Item : AdomdRestriction with get, set
Jscript는 인덱싱된 속성의 사용을 지원하지만 새로운 인덱싱된 속성 선언은 지원하지 않습니다.

매개 변수

속성 값

유형: Microsoft.AnalysisServices.AdomdClient. . :: . .AdomdRestriction
The element at the specified index.