CacheModeConverter::CanConvertTo Method (ITypeDescriptorContext^, Type^)

.NET Framework (current version)
 

Determines whether this CacheModeConverter can convert a CacheMode to an instance of a specified type, using the specified context.

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

public:
virtual bool CanConvertTo(
	ITypeDescriptorContext^ context,
	Type^ destinationType
) override

Parameters

context
Type: System.ComponentModel::ITypeDescriptorContext^

A ITypeDescriptorContext that provides a format context.

destinationType
Type: System::Type^

A type representing the type to convert to.

Return Value

Type: System::Boolean

true if this CacheModeConverter can perform the conversion; otherwise, false.

.NET Framework
Available since 4.0
Return to top
Show: