This documentation is archived and is not being maintained.

TypeConverter.GetStandardValues Method

Returns a collection of standard values for the data type this type converter is designed for.

Overload List

Returns a collection of standard values from the default context for the data type this type converter is designed for.

[Visual Basic] Overloads Public Function GetStandardValues() As ICollection
[C#] public ICollection GetStandardValues();
[C++] public: ICollection* GetStandardValues();
[JScript] public function GetStandardValues() : ICollection;

Returns a collection of standard values for the data type this type converter is designed for when provided with a format context.

[Visual Basic] Overloads Public Overridable Function GetStandardValues(ITypeDescriptorContext) As StandardValuesCollection
[C#] public virtual StandardValuesCollection GetStandardValues(ITypeDescriptorContext);
[C++] public: virtual StandardValuesCollection* GetStandardValues(ITypeDescriptorContext*);
[JScript] public function GetStandardValues(ITypeDescriptorContext) : StandardValuesCollection;

Example

For an example on this function, see the sample in TypeConverter.

See Also

TypeConverter Class | TypeConverter Members | System.ComponentModel Namespace

Show: