ImageIndexConverter.GetStandardValuesExclusive(ITypeDescriptorContext) 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.
Determines if the list of standard values returned from the GetStandardValues method is an exclusive list.
public:
override bool GetStandardValuesExclusive(System::ComponentModel::ITypeDescriptorContext ^ context);
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
A formatter context.
Returns
true
if the GetStandardValues method returns an exclusive list of valid values; otherwise, false
. This implementation always returns false
.
Remarks
If the list returned by the GetStandardValues method is exclusive, then no other values are valid. This is typical of an enumerated data type. If the list is not exclusive, then there are other valid values besides the list of standard values that GetStandardValues provides.
As implemented in this type converter, this method always returns false
.
Typically the GetStandardValuesSupported method is called to before an attempt is made to use the GetStandardValues and GetStandardValuesExclusive methods.
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應