다음을 통해 공유


EnvironmentVariableExtension.GetEnvironmentVariable<T> 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(Of T) ( _
    context As ActivityContext, _
    name As String _
) As T
public T GetEnvironmentVariable<T>(
    ActivityContext context,
    string name
)
public:
generic<typename T>
virtual T GetEnvironmentVariable(
    ActivityContext^ context, 
    String^ name
) sealed
abstract GetEnvironmentVariable : 
        context:ActivityContext * 
        name:string -> 'T 
override GetEnvironmentVariable : 
        context:ActivityContext * 
        name:string -> 'T 
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

Return Value

Type: T

Implements

IEnvironmentVariableExtension.GetEnvironmentVariable<T>(ActivityContext, String)

.NET Framework Security

See Also

Reference

EnvironmentVariableExtension Class

GetEnvironmentVariable Overload

Microsoft.TeamFoundation.Build.Activities.Extensions Namespace