Gets the object that specifies the string indexer. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public ReadOnly Default Property Item ( _
name As String _
) As Object
Get
'用途
Dim instance As DataProvider
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 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- name
型別:System.String
A String that specifies the name of the object.
屬性值
型別:System.Object
The object that specifies the string indexer.