PublicResourcesEnumOutOfRangeTEnum Method
Looks up a localized string similar to Enum instance of '{0}' type must be one of the defined values.
Namespace: KGySoftAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
public static string EnumOutOfRange<TEnum>(
TEnum value = null
)
where TEnum : struct, new()
Public Shared Function EnumOutOfRange(Of TEnum As {Structure, New}) (
Optional value As TEnum = Nothing
) As String
public:
generic<typename TEnum>
where TEnum : value class, gcnew()
static String^ EnumOutOfRange(
TEnum value = nullptr
)
static member EnumOutOfRange :
?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 defined values.