Property returning the version of Toolbox items a VSPackage provides.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public ReadOnly Property Version As Integer
'使用
Dim instance As ProvideToolboxItemsAttribute
Dim value As Integer
value = instance.Version
public int Version { get; }
public:
property int Version {
int get ();
}
public 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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Concepts
Reference
ProvideToolboxItemsAttribute Class
ProvideToolboxItemsAttribute Members