GetElement 方法 (String)

Gets an element with the specified name from the collection.

命名空间:  Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
程序集:  Microsoft.SqlServer.Exec80PackageTask(在 Microsoft.SqlServer.Exec80PackageTask.dll 中)

语法

声明
Public Function GetElement ( _
    variableName As String _
) As Object
用法
Dim instance As VariablesCollection
Dim variableName As String
Dim returnValue As Object

returnValue = instance.GetElement(variableName)
public Object GetElement(
    string variableName
)
public:
Object^ GetElement(
    String^ variableName
)
member GetElement : 
        variableName:string -> Object 
public function GetElement(
    variableName : String
) : Object

参数

返回值

类型:System. . :: . .Object
An Object containing the element with the specified name, if found; otherwise, a null reference (Nothing in Visual Basic).