TypeConverter Methods |
The TypeConverter type exposes the following members.
Name | Description | |
---|---|---|
ConvertData(Object, ExtendedAttributeType) |
Converts the object to the specified attribute type
| |
ConvertData(Object, AttributeType) |
Converts the object to the specified attribute type
| |
ConvertDataT(Object) |
Converts the object to the type specified by the T parameter
| |
GetDataType |
Returns the metadirectory services data type for a given object
| |
GetDataTypeExtended |
Returns the extended data type for a given object
| |
IsValidDataType |
Returns a value indicating whether the object is of a data type supported by the type converter. The type converter supports Int32, Int64, Boolean, GUID, byte[], String and DateTime data types
| |
ThrowOnAnyInvalidDataType |
Throws an InvalidCastException when an enumerable contains any object of a data type that is not supported by the type converter
| |
ThrowOnInvalidDataType |
Throws an InvalidCastException if an object is of a data type that is not supported by the type converter
| |
TryConvertData(Object, ExtendedAttributeType, Object) |
Tries to convert the object to the specified attribute type
| |
TryConvertData(Object, AttributeType, Object) |
Tries to convert the object to the specified attribute type
| |
TryConvertDataT(Object, T) |
Tries to convert the object to the specified type
|