ObjectDataProvider.MethodName Property

Definition

Gets or sets the name of the method to call.

public:
 property System::String ^ MethodName { System::String ^ get(); void set(System::String ^ value); };
public string MethodName { get; set; }
member this.MethodName : string with get, set
Public Property MethodName As String

Property Value

The name of the method to call. The default value is null.

Remarks

You can use this property to call a method on your object and use the MethodParameters property to pass parameters to the method. You can then bind to the results of the method.

Applies to