Метод GetElement (Int32)
Gets an element with the specified index from the collection.
Пространство имен: Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Сборка: Microsoft.SqlServer.Exec80PackageTask (в Microsoft.SqlServer.Exec80PackageTask.dll)
Синтаксис
'Декларация
Public Function GetElement ( _
i As Integer _
) As Object
'Применение
Dim instance As VariablesCollection
Dim i As Integer
Dim returnValue As Object
returnValue = instance.GetElement(i)
public Object GetElement(
int i
)
public:
Object^ GetElement(
int i
)
member GetElement :
i:int -> Object
public function GetElement(
i : int
) : Object
Параметры
- i
Тип: System. . :: . .Int32
The zero-based index of the element to be returned.
Возвращаемое значение
Тип: System. . :: . .Object
An Object containing the element at the specified index.
Исключения
| Исключение | Условие |
|---|---|
| ArgumentOutOfRangeException | i is less than zero. -or- i is equal to or greater than Count. |