Click or drag to resize
TypeConverter Class
Converts data between types
Inheritance Hierarchy
SystemObject
  Lithnet.MetadirectoryServicesTypeConverter

Namespace: Lithnet.MetadirectoryServices
Assembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax
public static class TypeConverter

The TypeConverter type exposes the following members.

Methods
  NameDescription
Public methodStatic memberConvertData(Object, ExtendedAttributeType)
Converts the object to the specified attribute type
Public methodStatic memberConvertData(Object, AttributeType)
Converts the object to the specified attribute type
Public methodStatic memberConvertDataT(Object)
Converts the object to the type specified by the T parameter
Public methodStatic memberGetDataType
Returns the metadirectory services data type for a given object
Public methodStatic memberGetDataTypeExtended
Returns the extended data type for a given object
Public methodStatic memberIsValidDataType
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
Public methodStatic memberThrowOnAnyInvalidDataType
Throws an InvalidCastException when an enumerable contains any object of a data type that is not supported by the type converter
Public methodStatic memberThrowOnInvalidDataType
Throws an InvalidCastException if an object is of a data type that is not supported by the type converter
Public methodStatic memberTryConvertData(Object, ExtendedAttributeType, Object)
Tries to convert the object to the specified attribute type
Public methodStatic memberTryConvertData(Object, AttributeType, Object)
Tries to convert the object to the specified attribute type
Public methodStatic memberTryConvertDataT(Object, T)
Tries to convert the object to the specified type
Top
See Also