Export (0) Print
Expand All

TypeInfo.DeclaredProperties Property

.NET Framework 4.5

Gets a collection of the properties defined by the current type.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

abstract DeclaredProperties : IEnumerable<PropertyInfo> with get 
override DeclaredProperties : IEnumerable<PropertyInfo> with get

Property Value

Type: System.Collections.Generic.IEnumerable(PropertyInfo)
A collection of the properties defined by the current type.

This example uses the reflection types and members in the .NET for Windows Store apps subset to retrieve the methods and properties of the Calendar type, including inherited methods and properties. To run this code, paste it into the code file for a Windows Store XAML app that contains a Windows.UI.Xaml.Controls.Textblock control named textblock1.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft