Editar

Partilhar via


ObjectDataProvider.MethodParameters Property

Definition

Gets the list of parameters to pass to the method.

public:
 property System::Collections::IList ^ MethodParameters { System::Collections::IList ^ get(); };
public System.Collections.IList MethodParameters { get; }
member this.MethodParameters : System.Collections.IList
Public ReadOnly Property MethodParameters As IList

Property Value

The list of parameters to pass to the method. The default is an empty list.

Remarks

You can use the MethodName 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.

Changing this collection implicitly causes the ObjectDataProvider object to refresh. When changing multiple refresh-causing properties, the use of DeferRefresh is recommended.

XAML Property Element Usage

<object>  
  <object.MethodParameters>  
    parameterValues  
  </object.MethodParameters>  
</object>  

Applies to