다음을 통해 공유


Item 속성

Corresponds to the indexor property in the C# language. It allows indexing of a collection in the same manner as with arrays.

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices.dll의 Microsoft.AnalysisServices

구문

‘선언
Public Default Property Item ( _
    column As TraceColumn _
) As String
    Get
    Set
‘사용 방법
Dim instance As TraceEventArgs
Dim column As TraceColumn
Dim value As String

value = instance(column)

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

매개 변수

속성 값

형식: System. . :: . .String
The value of a trace column from a trace event.