BaseEnumStringConverter<T>.GetStandardValuesSupported 方法 (ITypeDescriptorContext)
使用指定內容傳回值,這個值表示此物件是否支援一組可從清單中選取的標準值。
命名空間: Microsoft.VisualStudio.TestTools.WebTesting
組件: Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)
語法
'宣告
Public Overrides Function GetStandardValuesSupported ( _
context As ITypeDescriptorContext _
) As Boolean
public override bool GetStandardValuesSupported(
ITypeDescriptorContext context
)
public:
virtual bool GetStandardValuesSupported(
ITypeDescriptorContext^ context
) override
abstract GetStandardValuesSupported :
context:ITypeDescriptorContext -> bool
override GetStandardValuesSupported :
context:ITypeDescriptorContext -> bool
public override function GetStandardValuesSupported(
context : ITypeDescriptorContext
) : boolean
參數
- context
型別:System.ComponentModel.ITypeDescriptorContext
提供格式內容的 ITypeDescriptorContext。
傳回值
型別:System.Boolean
如果必須呼叫 GetStandardValues 以尋找物件支援的通用值集,則為 true,否則為 false。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。