共用方式為


RegisterLoadKeyAttribute.ProductVersion Property

Gets the version number of your VSPackage. This attribute has been deprecated.

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

Syntax

'宣告
Public ReadOnly Property ProductVersion As String
public string ProductVersion { get; }

Property Value

Type: System.String
The version number of your VSPackage.

.NET Framework Security

See Also

Reference

RegisterLoadKeyAttribute Class

Microsoft.VisualStudio.Shell Namespace