Uredi

Deli z drugimi prek


DesignerActionMethodItem.MemberName Property

Definition

Gets the name of the method that this DesignerActionMethodItem is associated with.

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

Property Value

A String that contains the name of the associated method.

Remarks

The MemberName property specifies which property, in the class derived from the DesignerActionList class, that the item should be bound to. When the programmer interacts with the panel item through the user interface (UI), this associated property will be set.

The bound method should neither take parameters nor return a value.

This property is set in the constructor. It is case-sensitive.

Applies to

See also