語言

DataFieldConverter.GetStandardValuesExclusive(ITypeDescriptorContext) 方法

定義

表示此轉換器是否回傳包含所有可指派給相關控制屬性的可能值的清單,並依據所提供的上下文。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &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 代表該屬性所屬資料綁定元件或控制項的物件。

傳回

false。

備註

GetStandardValuesExclusive該方法由設計主機在主機呼叫GetStandardValues之前就呼叫。

Note

通常你不會直接使用類型轉換器。 此實 TypeConverter 作設計時供資料綁定控制使用,並以 a TypeConverterAttribute 實例化於屬性上。

適用於

另請參閱