DataSourceCacheDurationConverter.GetStandardValues Method (ITypeDescriptorContext)

 

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

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public override TypeConverter.StandardValuesCollection GetStandardValues(
	ITypeDescriptorContext context
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

Return Value

Type: System.ComponentModel.TypeConverter.StandardValuesCollection

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

.NET Framework
Available since 2.0
Return to top
Show: