Поделиться через


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

Return Value

Type: T

.NET Framework Security

See Also

Reference

IEnvironmentVariableExtension Interface

GetEnvironmentVariable Overload

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace