ObjectDataProvider::MethodParameters Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the list of parameters to pass to the method.

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

property IList^ MethodParameters {
	IList^ get();

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