DynamicallyAccessedMembersAttribute(DynamicallyAccessedMemberTypes) 构造函数

定义

使用指定的成员类型初始化 DynamicallyAccessedMembersAttribute 类的新实例。

public:
 DynamicallyAccessedMembersAttribute(System::Diagnostics::CodeAnalysis::DynamicallyAccessedMemberTypes memberTypes);
public DynamicallyAccessedMembersAttribute (System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes memberTypes);
new System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute : System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes -> System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute
Public Sub New (memberTypes As DynamicallyAccessedMemberTypes)

参数

memberTypes
DynamicallyAccessedMemberTypes

动态访问的成员的类型。

适用于