DataSourceViewSchemaConverter.GetStandardValuesSupported Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether this converter returns a set of available values for assignment to a control property within the specified 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 implementation that can be used to gain additional context information.
Returns
true
if this converter returns a standard set of available values for assignment to the associated control property; otherwise false
.
Remarks
The GetStandardValuesSupported method indicates whether the converter supports returning a list of available values through the GetStandardValues method.
The GetStandardValuesSupported method for the DataSourceViewSchemaConverter object returns true
if the specified context
object supplies an IDataSourceViewSchemaAccessor implementation in its Instance property. The GetStandardValues method uses the IDataSourceViewSchemaAccessor implementation to retrieve the list of available fields from the associated data source schema.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈