CollectionBuilderAttribute.MethodName Property

Definition

Gets the name of the method on the builder to use to construct the collection.

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

Property Value

Remarks

This should match the metadata name of the target method. For example, this might be ".ctor" if targeting the type's constructor.

Applies to