DataSourceViewSchemaConverter.GetStandardValuesSupported 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指出這個轉換子是否傳回一組可用值,以指派給指定內容內的控制項屬性。
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
參數
- context
- ITypeDescriptorContext
ITypeDescriptorContext 實作,可以用來取得其他內容資訊。
傳回
如果這個轉換子傳回一組標準可用值,以指派給關聯的控制項屬性則為 true
,否則為 false
。
備註
方法 GetStandardValuesSupported 指出轉換器是否支援透過 GetStandardValues 方法傳回可用值清單。
GetStandardValuesSupported如果指定的 context
物件在其 IDataSourceViewSchemaAccessor 屬性中 Instance 提供實作 DataSourceViewSchemaConverter ,則 物件的方法會傳回 true
。 方法會使用 實 GetStandardValues 作 IDataSourceViewSchemaAccessor ,從相關聯的資料來源架構擷取可用的欄位清單。
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應