TypeConverterThrowOnAnyInvalidDataType Method |
Throws an InvalidCastException when an enumerable contains any object of a data type that is not supported by the type converter
Namespace: Lithnet.MetadirectoryServicesAssembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax public static void ThrowOnAnyInvalidDataType(
IEnumerable obj
)
Public Shared Sub ThrowOnAnyInvalidDataType (
obj As IEnumerable
)
public:
static void ThrowOnAnyInvalidDataType(
IEnumerable^ obj
)
Parameters
- obj
- Type: System.CollectionsIEnumerable
An IEnumerable collection of objects to evaluate
See Also