AsyncPostBackTriggerEventNameConverter.GetStandardValues(ITypeDescriptorContext) 方法

定义

为指定的格式上下文,返回 IDesignerHost 实例中的容器中某一控件的事件名称集合。Returns a collection of event names for a control in the container in the IDesignerHost instance for a specified format context.

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

一个格式上下文对象,可用于获取有关从中调用此转换器的环境的更多信息。A format context object that can be used for more information about the environment that this converter is invoked from. 此参数或其属性可以为 nullThis parameter or its properties can be null.

返回

一个字符串集合,表示当前容器中某一控件的事件名称。A collection of strings that represent the event names of a control in the current container. 如果当前不包含任何控件,则此方法将返回一个空集合。If no controls are currently contained, the method returns an empty collection. 如果上下文为 null 或如果没有当前容器,则该方法返回 nullIf the context is null or if there is no current container, the method returns null.

适用于