Share via


RefSafetyRulesAttribute(Int32) 构造函数

定义

初始化 RefSafetyRulesAttribute 类的新实例。

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

参数

version
Int32

编译模块时使用的 ref 安全规则的语言版本。

适用于