ObjectDataProvider.MethodParameters Property


Gets the list of parameters to pass to the method.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

Public ReadOnly Property MethodParameters As IList

Property Value

Type: System.Collections.IList

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

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.


.NET Framework
Available since 3.0
Return to top