ProvideToolboxItemsAttribute.Version Property

Property returning the version of Toolbox items a VSPackage provides.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

声明
Public ReadOnly Property Version As Integer
    Get
用法
Dim instance As ProvideToolboxItemsAttribute
Dim value As Integer

value = instance.Version
public int Version { get; }
public:
property int Version {
    int get ();
}
member Version : int
function get Version () : int

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

ProvideToolboxItemsAttribute Members

Microsoft.VisualStudio.Shell Namespace

ProvideToolboxFormatAttribute

ProvideToolboxItemsAttribute

Other Resources

Toolbox (Visual Studio SDK)