PropertyPath Constructor (String, Object[])

Initializes a new instance of the PropertyPath class, with the provided pathing token string and parameters.

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

new : 
        path:string * 
        pathParameters:Object[] -> PropertyPath

Parameters

path
Type: System.String

A string that specifies the Path, in a tokenized format.

pathParameters
Type: System.Object[]

An array of objects that sets the PathParameters.

This signature is generally only used for target-mode PropertyPath usages with complex paths.

This constructor supports params for the pathParameters constructor argument. Therefore you can specify the contents of pathParameters as a series of comma-separated constructor arguments that populate the array, rather than needing to dimension an array and then populate it with the pathParameters items. Each item you specify must be one of the following types: DependencyProperty, PropertyInfo, PropertyDescriptor.

For more information on the requirements of the parameters, see Path and PathParameters.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft