DiscoveryVersionConverter::CanConvertFrom Method (ITypeDescriptorContext^, Type^)
Returns a value that indicates whether it is possible to change the given DiscoveryVersion object to the type of this converter and using the specified context and culture information.
Assembly: System.ServiceModel.Discovery (in System.ServiceModel.Discovery.dll)
public: virtual bool CanConvertFrom( ITypeDescriptorContext^ context, Type^ sourceType ) override
Parameters
- context
-
Type:
System.ComponentModel::ITypeDescriptorContext^
Type descriptor format information that assists in the conversion of a DiscoveryVersion object to another type.
- sourceType
-
Type:
System::Type^
The DiscoveryVersion object that is changed to the type of this converter.
Return Value
Type: System::Booleantrue if it is possible to change the specified DiscoveryVersion object to the type of this converter; otherwise, false.
Available since 4.0