Share via


AsyncPostBackTriggerControlIDConverter.GetStandardValues 方法

定義

提供格式內容時,從 IDesignerHost 物件中的容器傳回控制項 ID 的集合。

public:
 override System::ComponentModel::TypeConverter::StandardValuesCollection ^ GetStandardValues(System::ComponentModel::ITypeDescriptorContext ^ context);
public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues (System.ComponentModel.ITypeDescriptorContext context);
override this.GetStandardValues : System.ComponentModel.ITypeDescriptorContext -> System.ComponentModel.TypeConverter.StandardValuesCollection
Public Overrides Function GetStandardValues (context As ITypeDescriptorContext) As TypeConverter.StandardValuesCollection

參數

context
ITypeDescriptorContext

物件,提供可以用來擷取環境相關資訊的格式內容,而該環境是叫用轉換子的來源。 這個參數 (或這個參數的屬性) 可以是 null

傳回

物件,其中保存字串集,表示目前容器中控制項的控制項 ID。 如果容器沒有任何控制項,則會傳回空集合。 如果內容是 null 或者目前沒有容器,則會傳回 null

適用於