Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DiscoveryVersionConverter.CanConvertTo Method (ITypeDescriptorContext, Type)

.NET Framework (current version)

Returns a value that indicates whether it is possible to change the given DiscoveryVersion to the specified type and using the specified context and culture information.

Namespace:   System.ServiceModel.Discovery.Configuration
Assembly:  System.ServiceModel.Discovery (in System.ServiceModel.Discovery.dll)

public override bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType


Type: System.ComponentModel.ITypeDescriptorContext

Type descriptor format information that assists in the conversion of a DiscoveryVersion object to another type.

Type: System.Type

The type to which the DiscoveryVersion object is changed.

Return Value

Type: System.Boolean

true if it is possible to change the specified DiscoveryVersion object to the specified type; otherwise, false.

.NET Framework
Available since 4.0
Return to top
© 2017 Microsoft