ModelingEnumerationConverter.GetStandardValuesExclusive 方法 (ITypeDescriptorContext)
使用指定的內容,指出從 GetStandardValues 方法所傳回的標準值集合是否為獨占清單。
命名空間: Microsoft.VisualStudio.Modeling.Design
組件: Microsoft.VisualStudio.Modeling.Sdk.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)
語法
'宣告
Public Overrides Function GetStandardValuesExclusive ( _
context As ITypeDescriptorContext _
) As Boolean
public override bool GetStandardValuesExclusive(
ITypeDescriptorContext context
)
參數
- context
類型:System.ComponentModel.ITypeDescriptorContext
格式內容。
傳回值
類型:System.Boolean
如果標準值的集合是可能值的詳盡清單,則為 true,如果還有其他可能值,則為 false。
備註
在所有情況下,這個方法都會傳回 true。
根據預設,文化特性會忽略參數。
繼承者注意事項
如需詳細資訊,請參閱 TypeConverter。GetStandardValuesExclusive 方法。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
ModelingEnumerationConverter 類別