PublicResourcesEnumOutOfRangeWithValuesTEnum Method
Looks up a localized string similar to Enum instance of '{0}' type must be one of the following values: {1}.
Namespace: KGySoftAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public static string EnumOutOfRangeWithValues<TEnum>(
TEnum value = null
)
where TEnum : struct, new()
Public Shared Function EnumOutOfRangeWithValues(Of TEnum As {Structure, New}) (
Optional value As TEnum = Nothing
) As String
public:
generic<typename TEnum>
where TEnum : value class, gcnew()
static String^ EnumOutOfRangeWithValues(
TEnum value = nullptr
)
static member EnumOutOfRangeWithValues :
?value : 'TEnum
(* Defaults:
let _value = defaultArg value null
*)
-> string when 'TEnum : struct, new()
- value TEnum (Optional)
- The enum value.
- TEnum
- Type of the value.
StringA localized string similar to
Enum instance of '{0}' type must be one of the following values: {1}.