TypeInfo.GetDeclaredProperty Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns an object that represents the specified public property declared by the current type.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- name
- Type: System.String
The name of the property.
Return Value
Type: System.Reflection.PropertyInfoAn object that represents the specified property, if found; otherwise, null.
| Exception | Condition |
|---|---|
| ArgumentNullException | name is null. |
Show: