TypeConverterTryConvertData Method (Object, AttributeType, 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,
AttributeType type,
out Object value
)
Public Shared Function TryConvertData (
obj As Object,
type As AttributeType,
<OutAttribute> ByRef value As Object
) As Boolean
public:
static bool TryConvertData(
Object^ obj,
AttributeType type,
[OutAttribute] Object^% value
)
Parameters
- obj
- Type: SystemObject
The object to convert - type
- Type: AttributeType
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