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, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft