Méthode GetElement (String)
Gets an element with the specified name 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 ( _
variableName As String _
) As Object
'Utilisation
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
Paramètres
- variableName
Type : System. . :: . .String
The name of the element to be returned.
Valeur de retour
Type : System. . :: . .Object
An Object containing the element with the specified name, if found; otherwise, a null reference (Nothing in Visual Basic).