Método CommonInformationHelper.ToEnum<T>

Namespace:  Microsoft.TeamFoundation.Build.Common
Assembly:  Microsoft.TeamFoundation.Build.Common (em Microsoft.TeamFoundation.Build.Common.dll)

Sintaxe

'Declaração
Public Shared Function ToEnum(Of T) ( _
    value As String, _
    defaultValue As T _
) As T
public static T ToEnum<T>(
    string value,
    T defaultValue
)

Parâmetros de tipo

  • T

Parâmetros

  • defaultValue
    Tipo: T

Valor de retorno

Tipo: T

Segurança do .NET Framework

Consulte também

Referência

CommonInformationHelper Classe

Namespace Microsoft.TeamFoundation.Build.Common