CompilationRelaxationsAttribute 构造函数

定义

初始化 CompilationRelaxationsAttribute 类的新实例。

重载

CompilationRelaxationsAttribute(Int32)

使用指定的编译松弛法初始化 CompilationRelaxationsAttribute 类的新实例。

CompilationRelaxationsAttribute(CompilationRelaxations)

使用指定的 CompilationRelaxations 值初始化 CompilationRelaxationsAttribute 类的新实例。

CompilationRelaxationsAttribute(Int32)

Source:
CompilationRelaxationsAttribute.cs
Source:
CompilationRelaxationsAttribute.cs
Source:
CompilationRelaxationsAttribute.cs

使用指定的编译松弛法初始化 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

编译松弛法。

注解

CompilationRelaxationsAttribute 属性应用于程序集以指定程序集编译参数。

Microsoft .NET Framework 1.0 版中忽略此属性。

另请参阅

适用于

CompilationRelaxationsAttribute(CompilationRelaxations)

Source:
CompilationRelaxationsAttribute.cs
Source:
CompilationRelaxationsAttribute.cs
Source:
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)

参数

注解

CompilationRelaxationsAttribute 属性应用于程序集以指定程序集编译参数。

Microsoft .NET Framework 1.0 版中忽略此属性。

另请参阅

适用于