Item 屬性
Returns a ForEachVariableMapping object from the collection.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public ReadOnly Default Property Item ( _
index As Object _
) As ForEachVariableMapping
Get
'用途
Dim instance As ForEachVariableMappings
Dim index As Object
Dim value As ForEachVariableMapping
value = instance(index)
public ForEachVariableMapping this[
Object index
] { get; }
public:
property ForEachVariableMapping^ default[Object^ index] {
ForEachVariableMapping^ get (Object^ index);
}
member Item : ForEachVariableMapping
JScript 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- index
型別:System. . :: . .Object
The name, description, ID, or index of the ForEachVariableMapping object to return.
備註
If the call to the Contains method returns true, you can access the specified element in the collection by using the syntax ForEachVariableMappings[index]. However, if the Contains method returns false, this property throws an exception. In C#, this property is the indexer for the ForEachVariableMappings class.