ActivityBindTypeConverter.ConvertTo Method

Definition

Converts the specified ActivityBind object to the specified type using the specified context and culture.

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value, Type ^ destinationType);
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (context As ITypeDescriptorContext, culture As CultureInfo, value As Object, destinationType As Type) As Object

Parameters

context
ITypeDescriptorContext

The ITypeDescriptorContext that provides a format context.

culture
CultureInfo

The CultureInfo into which the ActivityBind will be converted.

value
Object

The ActivityBind to convert.

destinationType
Type

The Type to convert the ActivityBind to.

Returns

The converted object.

Remarks

ConvertTo converts an ActivityBind to a string.

context can be used to extract additional information about the environment this converter is being invoked from. This can be a null reference (Nothing in Visual Basic), so always check. Also, properties on the context object can return a null reference (Nothing).

Applies to