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.

ActivityBindTypeConverter::ConvertFrom Method (ITypeDescriptorContext^, CultureInfo^, Object^)

 

Converts the specified object to an ActivityBind, using the specified context and culture information.

Namespace:   System.Workflow.ComponentModel.Design
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.

Return Value

Type: System::Object^

The Object that represents the converted value.

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).

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