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.

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

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:
© 2017 Microsoft