Redigera

Dela via


Assembly.ImageRuntimeVersion Property

Definition

Gets a string representing the version of the common language runtime (CLR) saved in the file containing the manifest.

public:
 virtual property System::String ^ ImageRuntimeVersion { System::String ^ get(); };
public virtual string ImageRuntimeVersion { get; }
[System.Runtime.InteropServices.ComVisible(false)]
public virtual string ImageRuntimeVersion { get; }
member this.ImageRuntimeVersion : string
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.ImageRuntimeVersion : string
Public Overridable ReadOnly Property ImageRuntimeVersion As String

Property Value

The CLR version folder name. This is not a full path.

Attributes

Remarks

For example, the value for the .NET Framework version 1.1 would be v1.1.4322. The binary files for that version would be located in the path %windir%\Microsoft.NET\Framework\v1.1.4322.

By default, ImageRuntimeVersion is set to the version of the CLR used to build the assembly. However, it might have been set to another value at compile time.

Applies to