Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2016 Microsoft