DynamicJsonArray.TryConvert Method
Converts the DynamicJsonArray instance to a compatible type.
Namespace: System.Web.Helpers
Assembly: System.Web.Helpers (in System.Web.Helpers.dll)
Syntax
'Declaration
Public Overrides Function TryConvert ( _
binder As ConvertBinder, _
<OutAttribute> ByRef result As Object _
) As Boolean
'Usage
Dim instance As DynamicJsonArray
Dim binder As ConvertBinder
Dim result As Object
Dim returnValue As Boolean
returnValue = instance.TryConvert(binder, _
result)
public override bool TryConvert(
ConvertBinder binder,
out Object result
)
public:
virtual bool TryConvert(
ConvertBinder^ binder,
[OutAttribute] Object^% result
) override
abstract TryConvert :
binder:ConvertBinder *
result:Object byref -> bool
override TryConvert :
binder:ConvertBinder *
result:Object byref -> bool
public override function TryConvert(
binder : ConvertBinder,
result : Object
) : boolean
Parameters
- binder
Type: System.Dynamic.ConvertBinder
Provides information about the conversion operation.
- result
Type: System.Object%
When this method returns, contains the result of the type conversion operation. This parameter is passed uninitialized.
Return Value
Type: System.Boolean
true if the conversion was successful; otherwise, false.