Share via


CollectionBuilderAttribute.MethodName 屬性

定義

取得產生器上用來建構集合的方法名稱。

public:
 property System::String ^ MethodName { System::String ^ get(); };
public string MethodName { get; }
member this.MethodName : string
Public ReadOnly Property MethodName As String

屬性值

備註

這應該符合目標方法的元數據名稱。 例如,如果以型別的建構函式為目標,這可能是 “.ctor”。

適用於