DynamicJsonObject.TryConvert(ConvertBinder, Object) Method

Definition

Converts the DynamicJsonObject instance to a compatible type.

public override bool TryConvert (System.Dynamic.ConvertBinder binder, out object result);
override this.TryConvert : System.Dynamic.ConvertBinder * obj -> bool
Public Overrides Function TryConvert (binder As ConvertBinder, ByRef result As Object) As Boolean

Parameters

binder
ConvertBinder

Provides information about the conversion operation.

result
Object

When this method returns, contains the result of the type conversion operation. This parameter is passed uninitialized.

Returns

true in all cases.

Exceptions

The DynamicJsonObject instance could not be converted to the specified type.

Applies to