編輯

共用方式為


FontConverter.FontNameConverter.GetStandardValuesSupported Method

Definition

Determines if this object supports a standard set of values that can be picked from a list.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 override bool GetStandardValuesSupported(System::ComponentModel::ITypeDescriptorContext ^ context);
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

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext that can be used to extract additional information about the environment this converter is being invoked from. This may be null, so you should always check. Also, properties on the context object may return null.

Returns

true if GetStandardValues should be called to find a common set of values the object supports; otherwise, false.

Applies to