TypeConverterTryConvertData Method (Object, ExtendedAttributeType, Object) |
Tries to convert the object to the specified attribute type
Namespace: Lithnet.MetadirectoryServicesAssembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax public static bool TryConvertData(
Object obj,
ExtendedAttributeType type,
out Object value
)
Public Shared Function TryConvertData (
obj As Object,
type As ExtendedAttributeType,
<OutAttribute> ByRef value As Object
) As Boolean
public:
static bool TryConvertData(
Object^ obj,
ExtendedAttributeType type,
[OutAttribute] Object^% value
)
Parameters
- obj
- Type: SystemObject
The object to convert - type
- Type: Lithnet.MetadirectoryServicesExtendedAttributeType
The data type to convert the object to - value
- Type: SystemObject
The converted value
Return Value
Type:
BooleanA value indicating if the conversion was successful
See Also