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.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- path
- Type: System.String
The path string for this PropertyPath.
- pathParameters
- Type:
System.Object
[]
Do not use. See Remarks.
| Exception | Condition |
|---|---|
| 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.