共用方式為


ProvideToolboxItemsAttribute.Version Property

Property returning the version of Toolbox items a VSPackage provides.

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

Syntax

'宣告
Public ReadOnly Property Version As Integer
public int Version { get; }

Property Value

Type: System.Int32
An integer value containing the version number of the Toolbox items a VSPackage supports.

Remarks

Version is a read-only property.

The value of Version is set by the version argument to the constructor.

.NET Framework Security

See Also

Reference

ProvideToolboxItemsAttribute Class

Microsoft.VisualStudio.Shell Namespace

ProvideToolboxFormatAttribute

ProvideToolboxItemsAttribute

Other Resources

Toolbox (Visual Studio SDK)