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.
RequestCachePolicyConverter::ConvertTo Method (ITypeDescriptorContext^, CultureInfo^, Object^, Type^)
.NET Framework (current version)
Converts this object to the specified type.
Assembly: PresentationCore (in PresentationCore.dll)
public: [SecurityCriticalAttribute] virtual Object^ ConvertTo( ITypeDescriptorContext^ typeDescriptorContext, CultureInfo^ cultureInfo, Object^ value, Type^ destinationType ) override
Parameters
- typeDescriptorContext
-
Type:
System.ComponentModel::ITypeDescriptorContext^
The format context.
- cultureInfo
-
Type:
System.Globalization::CultureInfo^
The culture to use for the conversion.
- value
-
Type:
System::Object^
The policy to convert.
- destinationType
-
Type:
System::Type^
The type to convert to.
| Exception | Condition |
|---|---|
| ArgumentNullException | destinationType is null. |
ConvertTo is introduced in the .NET Framework version 3.5. For more information, see .NET Framework Versions and Dependencies.
.NET Framework
Available since 3.0
Available since 3.0
Show: