PropertyPath Constructor (String, Object[])
Collapse the table of content
Expand the table of content

PropertyPath Constructor (String, Object[])

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the PropertyPath class.

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

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

Parameters

path
Type: System.String
The path string for this PropertyPath.
pathParameters
Type: System.Object []
Do not use. See Remarks.

ExceptionCondition
ArgumentOutOfRangeException

Provided an array of length greater than zero for pathParameters.

In Windows Phone, you typically construct a PropertyPath based on a string, regardless of intended usage.

Windows Phone uses the path parameter to specify a path, and do not specify pathParameters. Alternatively, use the PropertyPath signature. If left unspecified, the params keyword for the pathParameters parameter enables the creation of a zero-length object array implicitly, and the zero-length array is the only expected value for pathParameters in Windows Phone.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft