UnsafeAccessorAttribute.Name Property

Definition

Gets or sets the name of the member to which access is provided.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string? Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

Property Value

Remarks

The name defaults to the annotated method name if not specified. The name must be unset/null for Constructor.

Applies to