Item 属性 (String)

Gets the column with the specified name.

命名空间:  Microsoft.SqlServer.Management.Trace
程序集:  Microsoft.SqlServer.ConnectionInfoExtended(在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)

语法

声明
Public ReadOnly Default Property Item ( _
    name As String _
) As Object
    Get
用法
Dim instance As TraceReader
Dim name As String
Dim value As Object

value = instance(name)
public Object this[
    string name
] { get; }
public:
virtual property Object^ default[String^ name] {
    Object^ get (String^ name) sealed;
}
abstract Item : Object
override Item : Object
JScript 支持使用索引属性,但不支持声明新索引属性。

参数

属性值

类型:System. . :: . .Object
An Object system object value that specifies the column.

实现

IDataRecord. . :: . .Item[ ( [ ( String] ) ] )

示例

Readme_Tracer