DataFieldConverter.GetStandardValuesExclusive(ITypeDescriptorContext) 方法

定义

指示此转换器是否返回包含所有可能值的列表,可以使用提供的上下文将这些值分配给相关联的控件属性。Indicates whether this converter returns a list containing all possible values that can be assigned to the associated control property, using the provided context. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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

参数

context
ITypeDescriptorContext

一个 ITypeDescriptorContext 对象,该对象表示属性所属的数据绑定组件或控件。An ITypeDescriptorContext object that represents the data-bound component or the control that the property belongs to.

返回

Boolean

false.false.

注解

GetStandardValuesExclusive 宿主调用之前,该方法由设计器宿主调用 GetStandardValuesThe GetStandardValuesExclusive method is called by the designer host before the host calls GetStandardValues.

备注

通常不会直接访问类型转换器。You typically do not access a type converter directly. 的此实现用于 TypeConverter 设计时的数据绑定控件,并使用属性对其进行实例化 TypeConverterAttributeThis implementation of TypeConverter is intended for use by a data-bound control at design time, and is instantiated with a TypeConverterAttribute on a property.

适用于

另请参阅