Compartir a través de


GetElement Método (Int32)

Gets an element with the specified index from the collection.

Espacio de nombres:  Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Ensamblado:  Microsoft.SqlServer.Exec80PackageTask (en Microsoft.SqlServer.Exec80PackageTask.dll)

Sintaxis

'Declaración
Public Function GetElement ( _
    i As Integer _
) As Object
'Uso
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

Parámetros

Valor devuelto

Tipo: System. . :: . .Object
An Object containing the element at the specified index.

Excepciones

Excepción Condición
ArgumentOutOfRangeException

i is less than zero.

-or-

i is equal to or greater than Count.