Edit

Share via


ListViewItemStateImageIndexConverter.GetStandardValues Method

Definition

Retrieves a collection containing a set of standard values for the data type this validator is designed for.

public:
 override System::ComponentModel::TypeConverter::StandardValuesCollection ^ GetStandardValues(System::ComponentModel::ITypeDescriptorContext ^ 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

Parameters

context
ITypeDescriptorContext

An object that provides a format context, which can be used to extract additional information about the environment this type converter is being invoked from. This parameter or its properties can be null.

Returns

A collection that holds a standard set of valid index values. If no image list is found, this collection contains a single object with a value of -1. This method returns null if the data type doesn't support a standard set of values.

Applies to