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.