Compartilhar via


ProvideToolboxItemDiscoveryAttribute.ItemPropertyIdsAndNames Property

Gets a collection of extra columns (as identifier-Display-Name pairs) to display in the dialog.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Property ItemPropertyIdsAndNames As String()
public string[] ItemPropertyIdsAndNames { get; set; }
public:
property array<String^>^ ItemPropertyIdsAndNames {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
member ItemPropertyIdsAndNames : string[] with get, set
function get ItemPropertyIdsAndNames () : String[]
function set ItemPropertyIdsAndNames (value : String[])

Property Value

Type: array<String[]

Remarks

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

.NET Framework Security

See Also

Reference

ProvideToolboxItemDiscoveryAttribute Class

Microsoft.VisualStudio.Shell Namespace