UnsafeAccessorAttribute.Name Property


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

 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


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

Applies to