Επεξεργασία

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


DataMemberConverter.GetStandardValuesSupported(ITypeDescriptorContext) Method

Definition

Gets a value indicating whether this object returns a standard set of values that can be picked from a list in the design host using the specified context. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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 object that represents the data-bound component or the control that the property belongs to.

Returns

true if the context is not null and can be cast to an IComponent; otherwise false.

Remarks

Note

You typically do not access a type converter directly. This implementation of TypeConverter is intended for use by a data-bound control at design time, and is instantiated with a TypeConverterAttribute on a property.

Applies to

See also