Windows apps
Collapse the table of content
Expand the table of content
Information
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::ConvertTo Method (ITypeDescriptorContext^, CultureInfo^, Object^, Type^)

.NET Framework (current version)
 

Converts the given DiscoveryVersion to the specified type, using the specified context and culture information.

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

public:
virtual Object^ ConvertTo(
	ITypeDescriptorContext^ context,
	CultureInfo^ culture,
	Object^ value,
	Type^ destinationType
) override

Parameters

context
Type: System.ComponentModel::ITypeDescriptorContext^

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

culture
Type: System.Globalization::CultureInfo^

The culture information to use in the type conversion.

value
Type: System::Object^

The DiscoveryVersion to change.

destinationType
Type: System::Type^

The type to which the DiscoveryVersion object is being changed.

Return Value

Type: System::Object^

A DiscoveryVersion that has been changed to the specified type.

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