PublicResourcesICollectionNonGenericValueTypeInvalid Method

Looks up a localized string similar to The value "{0}" is not of type "{1}" and cannot be used in this generic collection.

Definition

Namespace: KGySoft
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.0.0-rc.1
C#
public static string ICollectionNonGenericValueTypeInvalid(
	Object value,
	Type type
)

Parameters

value  Object
The provided value.
type  Type
The expected type.

Return Value

String
A localized string similar to The value "{0}" is not of type "{1}" and cannot be used in this generic collection.

See Also