JsonModelConverter.CanConvert(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the type can be converted.
public override bool CanConvert (Type typeToConvert);
override this.CanConvert : Type -> bool
Public Overrides Function CanConvert (typeToConvert As Type) As Boolean
Parameters
- typeToConvert
- Type
Returns
True if the type can be converted, False otherwise.
Remarks
The default implementation is to return True when typeToConvert
equals typeof(T).
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET