MpfUtilities.SetStringValueFromConvertedEnum<T> Method

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project.MPF
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Shared Function SetStringValueFromConvertedEnum(Of T As {Structure, New}) ( _
    enumValue As T, _
    culture As CultureInfo _
) As String
'Usage
Dim enumValue As T
Dim culture As CultureInfo
Dim returnValue As String

returnValue = MpfUtilities.SetStringValueFromConvertedEnum(enumValue, _
    culture)
public static string SetStringValueFromConvertedEnum<T>(
    T enumValue,
    CultureInfo culture
)
where T : struct, new()
public:
generic<typename T>
where T : value class, gcnew()
static String^ SetStringValueFromConvertedEnum(
    T enumValue, 
    CultureInfo^ culture
)
JScript does not support generic types or methods.
static member SetStringValueFromConvertedEnum : 
        enumValue:'T * 
        culture:CultureInfo -> string  when 'T : struct, new()

Type Parameters

  • T

Parameters

  • enumValue
    Type: T

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

MpfUtilities Class

MpfUtilities Members

Microsoft.VisualStudio.Data.Schema.Project.Project.MPF Namespace