Share via


TraceEventArgs.Item Property

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

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

Syntax

'Declaration
Public Default Property Item ( _
    column As TraceColumn _
) As String
    Get
    Set
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

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