AccessedThroughPropertyAttribute(String) Constructor

Definition

Initializes a new instance of the AccessedThroughPropertyAttribute class with the name of the property used to access the attributed field.

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)

Parameters

propertyName
String

The name of the property used to access the attributed field.

Applies to