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::CanConvertFrom Method (ITypeDescriptorContext^, Type^)
.NET Framework (current version)
Returns a value indicating whether this converter can convert an object of the given source type to an ActivityBind using the specified context.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
public: virtual bool CanConvertFrom( ITypeDescriptorContext^ context, Type^ sourceType ) override
Parameters
- context
-
Type:
System.ComponentModel::ITypeDescriptorContext^
The ITypeDescriptorContext that provides a format context.
- sourceType
-
Type:
System::Type^
A Type that represents the type to convert.
Return Value
Type: System::Booleantrue if this converter can perform the conversion; otherwise, false.
CanConvertFrom returns true if sourceType is a string.
.NET Framework
Available since 3.0
Available since 3.0
Show: