Export (0) Print
Expand All

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)

public PropertyPath(
	string path,
	params Object[] pathParameters
)

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.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft