Condividi tramite


ProvideToolboxItemDiscoveryAttribute.ItemPropertyIdsAndNames Property

Definition

Gets a collection of extra columns (as ID / DisplayName pairs) to display in the dialog.

public:
 property cli::array <System::String ^> ^ ItemPropertyIdsAndNames { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public:
 property Platform::Array <Platform::String ^> ^ ItemPropertyIdsAndNames { Platform::Array <Platform::String ^> ^ get(); void set(Platform::Array <Platform::String ^> ^ value); };
public string[] ItemPropertyIdsAndNames { get; set; }
member this.ItemPropertyIdsAndNames : string[] with get, set
Public Property ItemPropertyIdsAndNames As String()

Property Value

String[]

Remarks

By default, the Choose Toolbox Items dialog will display the following properties for each item: name, namespace, assembly, directory, language, and icon. If you are satisfied with that set, you can leave this property unset; otherwise, set it to a collection of string pairs which will be used to create additional columns in the list view. Each pair contains a non-localized ID and a localized name. The non-localized IDs will be passed to IToolboxItemInfo.GetPropertyValue to retrieve each item's value for each column.

Applies to