Udostępnij za pośrednictwem


ProvideLoadKeyAttribute.ProductVersion Property

Definition

Gets the version number of your VSPackage.

public:
 property System::String ^ ProductVersion { System::String ^ get(); };
public:
 property Platform::String ^ ProductVersion { Platform::String ^ get(); };
public string ProductVersion { get; }
member this.ProductVersion : string
Public ReadOnly Property ProductVersion As String

Property Value

The version number of your VSPackage.

Remarks

Important

Packages that target Visual Studio 2010 only do not need a package load key.

Packages that target Visual Studio 2008 and earlier must have a package load key in order to validate and load VSPackages. This includes VSPackages provided by third parties, regardless of whether the hosting version of Visual Studio has a VSIP license.

ProductVersion is the version of the product that this VSPackage implements.

Applies to