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
- 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
Reference
ProvideToolboxItemsAttribute Class
ProvideToolboxItemsAttribute Members
Microsoft.VisualStudio.Shell Namespace