Retrieves the product version. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim package1 As Package

Dim returnValue As String
returnValue = package1.ProductVersion

Dim sampleValue As String
package1.ProductVersion = sampleValue

Syntax

Visual Basic
Public Property ProductVersion() As String
C#
public string ProductVersion {get; set;}
C++
public:
property String^ ProductVersion {
		String^ get();
protected:
		void set(String^ value);
}
J#
public System.String get_ProductVersion();
public void set_ProductVersion(System.String);
JScript
public function get ProductVersion() : String;
public function set ProductVersion(String);

Property Value

The product version.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Vista, and Windows 2000

Target Platforms

See Also