Windows Dev Center

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.

QuaternionConverter.CanConvertFrom Method (ITypeDescriptorContext, Type)

Gets a value that indicates whether this type converter can convert from a given type.

Namespace:  System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public override bool CanConvertFrom(
	ITypeDescriptorContext context,
	Type sourceType
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

ITypeDescriptorContext for this call.

sourceType
Type: System.Type

Type being queried for support.

Return Value

Type: System.Boolean
True if this converter can convert from the provided type, false otherwise.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft