共用方式為


AccessedThroughPropertyAttribute(String) 建構函式

定義

使用用來存取屬性化 (Attributed) 欄位的屬性 (Property) 名稱,初始化 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

用來存取屬性化 (Attributed) 欄位的屬性 (Property) 名稱。

適用於