DataFieldConverter.GetStandardValuesSupported(ITypeDescriptorContext) 方法

定義

取得值,表示這個轉換子是否支援可以從清單中選取的標準值集合。Gets a value indicating whether the converter supports a standard set of values that can be picked from a list.

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,可用來取得其他的內容資訊。An ITypeDescriptorContext that can be used to gain additional context information.

傳回

如果應該呼叫 GetStandardValues() 以尋找物件支援的通用值集合,則為 true,否則為 falsetrue if GetStandardValues() can be called to find a common set of values the object supports; otherwise, false.

適用於