CompilationRelaxationsAttribute 建構函式

定義

初始化 CompilationRelaxationsAttribute 類別的新執行個體。

多載

CompilationRelaxationsAttribute(Int32)

使用指定的編譯 (Compilation) 寬鬆度,初始化 CompilationRelaxationsAttribute 類別的新執行個體。

CompilationRelaxationsAttribute(CompilationRelaxations)

使用指定的 CompilationRelaxations 值,初始化 CompilationRelaxationsAttribute 類別的新執行個體。

CompilationRelaxationsAttribute(Int32)

來源:
CompilationRelaxationsAttribute.cs
來源:
CompilationRelaxationsAttribute.cs
來源:
CompilationRelaxationsAttribute.cs

使用指定的編譯 (Compilation) 寬鬆度,初始化 CompilationRelaxationsAttribute 類別的新執行個體。

public:
 CompilationRelaxationsAttribute(int relaxations);
public CompilationRelaxationsAttribute (int relaxations);
new System.Runtime.CompilerServices.CompilationRelaxationsAttribute : int -> System.Runtime.CompilerServices.CompilationRelaxationsAttribute
Public Sub New (relaxations As Integer)

參數

relaxations
Int32

編譯 (Compilation) 寬鬆度。

備註

CompilationRelaxationsAttribute 屬性套用至元件,以指定元件編譯參數。

Microsoft .NET Framework 1.0 版會忽略這個屬性。

另請參閱

適用於

CompilationRelaxationsAttribute(CompilationRelaxations)

來源:
CompilationRelaxationsAttribute.cs
來源:
CompilationRelaxationsAttribute.cs
來源:
CompilationRelaxationsAttribute.cs

使用指定的 CompilationRelaxations 值,初始化 CompilationRelaxationsAttribute 類別的新執行個體。

public:
 CompilationRelaxationsAttribute(System::Runtime::CompilerServices::CompilationRelaxations relaxations);
public CompilationRelaxationsAttribute (System.Runtime.CompilerServices.CompilationRelaxations relaxations);
new System.Runtime.CompilerServices.CompilationRelaxationsAttribute : System.Runtime.CompilerServices.CompilationRelaxations -> System.Runtime.CompilerServices.CompilationRelaxationsAttribute
Public Sub New (relaxations As CompilationRelaxations)

參數

relaxations
CompilationRelaxations

其中一個 CompilationRelaxations 值。

備註

CompilationRelaxationsAttribute 屬性套用至元件,以指定元件編譯參數。

Microsoft .NET Framework 1.0 版會忽略這個屬性。

另請參閱

適用於