共用方式為


MultiPartIdentifier.Item 屬性

Gets or sets the item at the specified index.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Default Property Item ( _
    index As Integer _
) As Identifier 
    Get 
    Set
'用途
Dim instance As MultiPartIdentifier 
Dim index As Integer 
Dim value As Identifier 

value = instance(index)

instance(index) = value
public Identifier this[
    int index
] { get; set; }
public:
property Identifier^ default[int index] {
    Identifier^ get (int index);
    void set (int index, Identifier^ value);
}
member Item : Identifier with get, set
JScript 支援索引屬性的使用,但不支援新屬性的宣告。

參數

屬性值

型別:Microsoft.SqlServer.TransactSql.ScriptDom.Identifier
The item at the specified index.

請參閱

參考

MultiPartIdentifier 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間