共用方式為


ProvideToolboxItemDiscoveryAttribute.PlatformsToEnumerate Property

Gets or sets a collection of platform identifiers indicating the platforms that should be enumerated to populate the list in this item type's Choose Toolbox Items page.

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

Syntax

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

Property Value

Type: array<System.String[]

Remarks

The default value is null.

.NET Framework Security

See Also

Reference

ProvideToolboxItemDiscoveryAttribute Class

Microsoft.VisualStudio.Shell Namespace