Share via


UnsafeAccessorAttribute.Name 屬性

定義

取得或設定提供存取權的成員名稱。

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

屬性值

備註

如果未指定,則名稱預設為標註的方法名稱。 名稱必須為 unset/null for Constructor

適用於