다음을 통해 공유


Item 속성

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

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

구문

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

value = instance(index)

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

매개 변수

속성 값

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