UnsafeAccessorAttribute(UnsafeAccessorKind) 构造函数

定义

实例化 提供 UnsafeAccessorAttribute 对类型 UnsafeAccessorKind成员的访问权限。

public:
 UnsafeAccessorAttribute(System::Runtime::CompilerServices::UnsafeAccessorKind kind);
public UnsafeAccessorAttribute (System.Runtime.CompilerServices.UnsafeAccessorKind kind);
new System.Runtime.CompilerServices.UnsafeAccessorAttribute : System.Runtime.CompilerServices.UnsafeAccessorKind -> System.Runtime.CompilerServices.UnsafeAccessorAttribute
Public Sub New (kind As UnsafeAccessorKind)

参数

kind
UnsafeAccessorKind

向其提供访问权限的目标的类型。

适用于