DataSourceIDConverter.GetStandardValuesExclusive 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.
Gets a value indicating whether the returned data source names are an exclusive list of possible values.
public:
override bool GetStandardValuesExclusive(System::ComponentModel::ITypeDescriptorContext ^ context);
public override bool GetStandardValuesExclusive (System.ComponentModel.ITypeDescriptorContext context);
override this.GetStandardValuesExclusive : System.ComponentModel.ITypeDescriptorContext -> bool
Public Overrides Function GetStandardValuesExclusive (context As ITypeDescriptorContext) As Boolean
Parameters
- context
- ITypeDescriptorContext
An object implementing the ITypeDescriptorContext that provides information about a context to a type converter so that the type converter can perform a conversion.
Returns
Always false
.
Remarks
If you derive a class from the DataSourceIDConverter class and override the GetStandardValues method to return an exclusive list of data source names, also override the GetStandardValuesExclusive method to return true
when the data source name list is exclusive.
The context
parameter is not used by the GetStandardValuesExclusive.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈