Windows Dev Center

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.

CacheModeConverter.CanConvertTo Method (ITypeDescriptorContext, Type)

.NET Framework 4.6 and 4.5

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 override bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType


Type: System.ComponentModel.ITypeDescriptorContext

A ITypeDescriptorContext that provides a format context.

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft