DataSourceViewSchemaConverter.GetStandardValuesSupported Method

Definition

Indicates whether this converter returns a set of available values for assignment to a control property within the specified context.

public:
 override bool GetStandardValuesSupported(System::ComponentModel::ITypeDescriptorContext ^ context);
public override bool GetStandardValuesSupported (System.ComponentModel.ITypeDescriptorContext context);
override this.GetStandardValuesSupported : System.ComponentModel.ITypeDescriptorContext -> bool
Public Overrides Function GetStandardValuesSupported (context As ITypeDescriptorContext) As Boolean

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext implementation that can be used to gain additional context information.

Returns

true if this converter returns a standard set of available values for assignment to the associated control property; otherwise false.

Remarks

The GetStandardValuesSupported method indicates whether the converter supports returning a list of available values through the GetStandardValues method.

The GetStandardValuesSupported method for the DataSourceViewSchemaConverter object returns true if the specified context object supplies an IDataSourceViewSchemaAccessor implementation in its Instance property. The GetStandardValues method uses the IDataSourceViewSchemaAccessor implementation to retrieve the list of available fields from the associated data source schema.

Applies to

See also