共用方式為


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