DataSourceIDConverter.GetStandardValuesSupported(ITypeDescriptorContext) 方法
定义
获取一个值,该值指示此对象是否返回可从列表中选取的一组标准数据源名称。Gets a value indicating whether this object returns a standard set of data source names that can be picked from a list.
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 的对象,该对象将有关上下文的信息提供给类型转换器,以便类型转换器可以执行转换。An object implementing the ITypeDescriptorContext that provides information about a context to a type converter so that the type converter can perform a conversion.
返回
总是为 true。Always true.
注解
context方法不使用参数 GetStandardValuesSupported 。The context parameter is not used by the GetStandardValuesSupported method.