DataSourceCacheDurationConverter.GetStandardValuesSupported Method (ITypeDescriptorContext)

 

Specifies whether the DataSourceCacheDurationConverter object supports a standard set of values that can be picked from a list, using the specified context.

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

public override bool GetStandardValuesSupported(
	ITypeDescriptorContext context
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

Return Value

Type: System.Boolean

true in all cases.

The DataSourceCacheDurationConverter object always returns true to indicate that the GetStandardValues method should be called to find a common set of values the converter supports.

.NET Framework
Available since 2.0
Return to top
Show: