TreeViewImageIndexConverter.GetStandardValues(ITypeDescriptorContext) 方法

定義

針對與指定之格式內容關聯的影像清單,傳回標準索引值集合。

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

參數

context
ITypeDescriptorContext

提供格式內容的 ITypeDescriptorContext,可用來擷取環境的其他資訊,而這個類型轉換子正從此環境叫用。 這個參數或這個參數的屬性可為 null

傳回

TypeConverter.StandardValuesCollection,含有標準的有效索引值集。 如果找不到任何影像清單,這個集合會包含單一物件,其值為 -1。

適用於

另請參閱