編集

RequestCachePolicyConverter Class

Definition

Parses a RequestCachePolicy.

public ref class RequestCachePolicyConverter sealed : System::ComponentModel::TypeConverter
public sealed class RequestCachePolicyConverter : System.ComponentModel.TypeConverter
type RequestCachePolicyConverter = class
    inherit TypeConverter
Public NotInheritable Class RequestCachePolicyConverter
Inherits TypeConverter
Inheritance
RequestCachePolicyConverter

Remarks

RequestCachePolicyConverter is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Constructors

Name Description
RequestCachePolicyConverter()

Initializes a new instance of the RequestCachePolicyConverter class.

Methods

Name Description
CanConvertFrom(ITypeDescriptorContext, Type)

Returns a value that indicates whether this converter can convert an object of the specified type to the type of this converter, using the specified context.

CanConvertTo(ITypeDescriptorContext, Type)

Returns a value that indicates whether this converter can convert the object to the specified type, using the specified context.

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

Converts the specified object to a RequestCachePolicy object.

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Converts this object to the specified type.

Applies to