Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CustomReflectionContext.AddProperties Method

.NET Framework 4.6 and 4.5

When overridden in a derived class, provides a collection of additional properties for the specified type, as represented in this reflection context.

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

protected virtual IEnumerable<PropertyInfo> AddProperties(
	Type type


Type: System.Type

The type to add properties to.

Return Value

Type: System.Collections.Generic.IEnumerable<PropertyInfo>
A collection of additional properties for the specified type.

Override this method to specify which properties should be added to a given type. To create the properties, use the CreateProperty method.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft