RegisterLoadKeyAttribute.ProductVersion Property
The ProductVersion attribute returns a string containing the version number of your VSPackage.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
‘선언
Public ReadOnly Property ProductVersion As String
Get
‘사용 방법
Dim instance As RegisterLoadKeyAttribute
Dim value As String
value = instance.ProductVersion
public string ProductVersion { get; }
public:
property String^ ProductVersion {
String^ get ();
}
member ProductVersion : string
function get ProductVersion () : String
Property Value
Type: System.String
The version number of your VSPackage.
.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
RegisterLoadKeyAttribute Class
RegisterLoadKeyAttribute Members