次の方法で共有


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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣言
Public Property ItemPropertyIdsAndNames As String()
public string[] ItemPropertyIdsAndNames { get; set; }

Property Value

Type: array<System.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