Επεξεργασία

Κοινή χρήση μέσω


DataSourceCacheDurationConverter.GetStandardValues Method

Definition

Returns a collection of standard values for the data type the DataSourceCacheDurationConverter instance is designed for.

public:
 override System::ComponentModel::TypeConverter::StandardValuesCollection ^ GetStandardValues(System::ComponentModel::ITypeDescriptorContext ^ context);
public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues (System.ComponentModel.ITypeDescriptorContext context);
override this.GetStandardValues : System.ComponentModel.ITypeDescriptorContext -> System.ComponentModel.TypeConverter.StandardValuesCollection
Public Overrides Function GetStandardValues (context As ITypeDescriptorContext) As TypeConverter.StandardValuesCollection

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

Returns

A TypeConverter.StandardValuesCollection that contains 0 for cache duration, which represents "Infinite".

Applies to