ActivityBindTypeConverter.GetStandardValuesSupported 方法

定義

會使用指定的內容傳回,這個物件是否支援可從清單中挑選的標準值集合。

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

參數

context
ITypeDescriptorContext

提供格式內容的 ITypeDescriptorContext

傳回

如果應該呼叫 true 以尋找物件支援的通用值集合則為 GetStandardValues,否則為 false

備註

context 參數可以用於擷取環境的其他資訊,而這個轉換子就是從該環境叫用的。 這個參數可以是 null 參考 (在 Visual Basic 中為 Nothing),所以一定要檢查。 此外,內容物件的屬性可能會傳回 null 參考 (Nothing)。

適用於