DataMemberConverter.GetStandardValues(ITypeDescriptorContext) Método
Definição
Retorna uma lista de valores que podem ser atribuídos a uma propriedade de controle usando o contexto especificado.Returns a list of values that can be assigned to a control property using the specified context. Esta API está obsoleta.This API is obsolete. Para saber mais sobre como desenvolver aplicativos móveis ASP.NET, veja Mobile Apps & Sites with ASP.NET (Aplicativos móveis e sites com ASP.NET).For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
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
Parâmetros
- context
- ITypeDescriptorContext
Um objeto ITypeDescriptorContext que representa o componente de associação de dados ou o controle ao qual a propriedade pertence.An ITypeDescriptorContext object that represents the data-bound component or the control that the property belongs to.
Retornos
Um objeto TypeConverter.StandardValuesCollection que contém os nomes das exibições de dados disponíveis na fonte de dados.A TypeConverter.StandardValuesCollection object containing the names of available data views in the data source.
Comentários
Observação
Normalmente, você não acessa um conversor de tipo diretamente.You typically do not access a type converter directly. Essa implementação do TypeConverter é destinada a uso por um controle vinculado a dados em tempo de design e é instanciada com um TypeConverterAttribute em uma propriedade.This implementation of TypeConverter is intended for use by a data-bound control at design time, and is instantiated with a TypeConverterAttribute on a property.