MultiPartIdentifier.Item Property
Gets or sets the item at the specified index.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Default Property Item ( _
index As Integer _
) As Identifier
Get
Set
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Type: System.Int32
The specified index.
Property Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom.Identifier
The item at the specified index.