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: