다음을 통해 공유


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

매개 변수

반환 값

유형: 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.