AccessedThroughPropertyAttribute(String) 构造函数

定义

使用用于访问特性化字段的属性的名称初始化类的新实例 AccessedThroughPropertyAttribute

public:
 AccessedThroughPropertyAttribute(System::String ^ propertyName);
public AccessedThroughPropertyAttribute(string propertyName);
new System.Runtime.CompilerServices.AccessedThroughPropertyAttribute : string -> System.Runtime.CompilerServices.AccessedThroughPropertyAttribute
Public Sub New (propertyName As String)

参数

propertyName
String

用于访问特性化字段的属性的名称。

适用于