CustomReflectionContext::AddProperties Method (Type^)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Return to top
Show: