TraceEventArgs.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 (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
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 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- column
型別:Microsoft.AnalysisServices.TraceColumn
A collection of trace columns.
屬性值
型別:System.String
The value of a trace column from a trace event.