ActivityBindTypeConverter::ConvertFrom Method (ITypeDescriptorContext^, CultureInfo^, Object^)
Converts the specified object to an ActivityBind, using the specified context and culture information.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
public: virtual Object^ ConvertFrom( ITypeDescriptorContext^ context, CultureInfo^ culture, Object^ valueToConvert ) override
Parameters
- context
-
Type:
System.ComponentModel::ITypeDescriptorContext^
The ITypeDescriptorContext that provides a format context.
- culture
-
Type:
System.Globalization::CultureInfo^
An optional CultureInfo. If not supplied, the current culture is assumed.
- valueToConvert
-
Type:
System::Object^
The Object to convert.
| Exception | Condition |
|---|---|
| InvalidOperationException | An error occurred while converting valueToConvert to an ActivityBind. |
This converter can only convert an ActivityBind object to and from 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