Share via


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

属性付きフィールドにアクセスするために使用するプロパティの名前。

適用対象