NullableBoolConverter.GetStandardValuesSupported(ITypeDescriptorContext) 方法

定義

傳回這個物件是否支援可以從清單中選取的標準值集合。Returns whether this object 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

提供元件的內容資訊,例如其容器和屬性描述項。Provides contextual information about a component, such as its container and property descriptor.

傳回

Boolean

這個實作一律會傳回 trueThis implementation always returns true.

備註

context這個轉換器不會使用,而且可以是 nullThe context is not used by this converter and can be null.

適用於