ActivityBindTypeConverter::ConvertTo Method (ITypeDescriptorContext^, CultureInfo^, Object^, Type^)
Converts the specified ActivityBind object to the specified type using the specified context and culture.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
public: virtual Object^ ConvertTo( ITypeDescriptorContext^ context, CultureInfo^ culture, Object^ value, Type^ destinationType ) override
Parameters
- context
-
Type:
System.ComponentModel::ITypeDescriptorContext^
The ITypeDescriptorContext that provides a format context.
- culture
-
Type:
System.Globalization::CultureInfo^
The CultureInfo into which the ActivityBind will be converted.
- value
-
Type:
System::Object^
The ActivityBind to convert.
- destinationType
-
Type:
System::Type^
The Type to convert the ActivityBind to.
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).
Available since 3.0