CollectionBuilderAttribute.MethodName Proprietà

Definizione

Ottiene il nome del metodo nel generatore da usare per costruire la raccolta.

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

Valore della proprietà

Commenti

Deve corrispondere al nome dei metadati del metodo di destinazione. Ad esempio, questo potrebbe essere ".ctor" se si punta al costruttore del tipo.

Si applica a