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
)

Parameters

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft