PackageUtilities::SetStringValueFromConvertedEnum<T> Method (T, CultureInfo^)
Visual Studio 2015
Returns a string from an enumeration value.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: generic<typename T> where T : value struct, gcnew() static String^ SetStringValueFromConvertedEnum( T enumValue, CultureInfo^ culture )
Parameters
- enumValue
-
Type:
T
The enumeration value.
- culture
-
Type:
System.Globalization::CultureInfo^
The CultureInfo of the string.
Type Parameters
- T
The enum type.
The type parameter used should be an enumeration for which there is a subtype of EnumConverter.
Show: