CustomJsonConverter.CanConvert Method

Returns a flag that indicates whether the converter can convert the specified object type.

Namespace: Microsoft.Azure.Management.DataFactories.Models
Assembly: Microsoft.Azure.Management.DataFactories (in Microsoft.Azure.Management.DataFactories.dll)

Usage

'Usage
Dim instance As CustomJsonConverter(Of T)
Dim objectType As Type
Dim returnValue As Boolean

returnValue = instance.CanConvert(objectType)

Syntax

'Declaration
Public Overrides Function CanConvert ( _
    objectType As Type _
) As Boolean
public override bool CanConvert (
    Type objectType
)
public:
virtual bool CanConvert (
    Type^ objectType
) override
public boolean CanConvert (
    Type objectType
)
public override function CanConvert (
    objectType : Type
) : boolean

Parameters

  • objectType
    The object type to convert.

Return Value

true if the converter can convert the specified object type; otherwise, false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

CustomJsonConverter Class
CustomJsonConverter Members
Microsoft.Azure.Management.DataFactories.Models Namespace