IEnvironmentVariableExtension.GetEnvironmentVariable<T> Method (ActivityContext, String)
Namespace: Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
Function GetEnvironmentVariable(Of T) ( _
context As ActivityContext, _
name As String _
) As T
T GetEnvironmentVariable<T>(
ActivityContext context,
string name
)
generic<typename T>
T GetEnvironmentVariable(
ActivityContext^ context,
String^ name
)
abstract GetEnvironmentVariable :
context:ActivityContext *
name:string -> 'T
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- context
Type: System.Activities.ActivityContext
- name
Type: System.String
Return Value
Type: T
.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
IEnvironmentVariableExtension Interface
GetEnvironmentVariable Overload
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace