你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
OutboundNetworkDependenciesEndpointTypeConverter.CanConvertFrom 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.
Overloads
CanConvertFrom(Object) |
Determines if the converter can convert the |
CanConvertFrom(Object, Type) |
Determines if the converter can convert the |
CanConvertFrom(Object)
Determines if the converter can convert the sourceValue
parameter to the OutboundNetworkDependenciesEndpoint
type.
public static bool CanConvertFrom (dynamic sourceValue);
static member CanConvertFrom : obj -> bool
Public Shared Function CanConvertFrom (sourceValue As Object) As Boolean
Parameters
- sourceValue
- Object
the Object instance to check if it can be converted to the OutboundNetworkDependenciesEndpoint type.
Returns
true
if the instance could be converted to a OutboundNetworkDependenciesEndpoint type, otherwise
false
Applies to
CanConvertFrom(Object, Type)
Determines if the converter can convert the sourceValue
parameter to the destinationType
parameter.
public override bool CanConvertFrom (object sourceValue, Type destinationType);
override this.CanConvertFrom : obj * Type -> bool
Public Overrides Function CanConvertFrom (sourceValue As Object, destinationType As Type) As Boolean
Parameters
Returns
true
if the converter can convert the sourceValue
parameter to the destinationType
parameter, otherwise false
.