PublicResourcesEnumOutOfRangeTEnum Method

Looks up a localized string similar to Enum instance of '{0}' type must be one of the defined values.

Definition

Namespace: KGySoft
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public static string EnumOutOfRange<TEnum>(
	TEnum value = null
)
where TEnum : struct, new()

Parameters

value  TEnum  (Optional)
The enum value.

Type Parameters

TEnum
Type of the value.

Return Value

String
A localized string similar to Enum instance of '{0}' type must be one of the defined values.

See Also