EnvironmentVariableExtension.GetEnvironmentVariable Method (ActivityContext, String)
Namespace: Microsoft.TeamFoundation.Build.Activities.Extensions
Assembly: Microsoft.TeamFoundation.Build.Activities (in Microsoft.TeamFoundation.Build.Activities.dll)
Syntax
'Declaration
Public Function GetEnvironmentVariable ( _
context As ActivityContext, _
name As String _
) As Object
public Object GetEnvironmentVariable(
ActivityContext context,
string name
)
public:
virtual Object^ GetEnvironmentVariable(
ActivityContext^ context,
String^ name
) sealed
abstract GetEnvironmentVariable :
context:ActivityContext *
name:string -> Object
override GetEnvironmentVariable :
context:ActivityContext *
name:string -> Object
public final function GetEnvironmentVariable(
context : ActivityContext,
name : String
) : Object
Parameters
- context
Type: System.Activities.ActivityContext
- name
Type: System.String
Return Value
Type: System.Object
Implements
IEnvironmentVariableExtension.GetEnvironmentVariable(ActivityContext, String)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
EnvironmentVariableExtension Class
GetEnvironmentVariable Overload
Microsoft.TeamFoundation.Build.Activities.Extensions Namespace