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 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- index
型別:System.Int32
The specified index.
屬性值
型別:Microsoft.SqlServer.TransactSql.ScriptDom.Identifier
The item at the specified index.