Méthode GetElement (Int32)
Gets an element with the specified index from the collection.
Espace de noms : Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Assembly : Microsoft.SqlServer.Exec80PackageTask (en Microsoft.SqlServer.Exec80PackageTask.dll)
Syntaxe
'Déclaration
Public Function GetElement ( _
i As Integer _
) As Object
'Utilisation
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
Paramètres
- i
Type : System. . :: . .Int32
The zero-based index of the element to be returned.
Valeur de retour
Type : System. . :: . .Object
An Object containing the element at the specified index.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | i is less than zero. -or- i is equal to or greater than Count. |