CustomReflectionContext.AddProperties(Type) Method

Definition

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

protected:
 virtual System::Collections::Generic::IEnumerable<System::Reflection::PropertyInfo ^> ^ AddProperties(Type ^ type);
protected virtual System.Collections.Generic.IEnumerable<System.Reflection.PropertyInfo> AddProperties (Type type);
abstract member AddProperties : Type -> seq<System.Reflection.PropertyInfo>
override this.AddProperties : Type -> seq<System.Reflection.PropertyInfo>
Protected Overridable Function AddProperties (type As Type) As IEnumerable(Of PropertyInfo)
Protected Iterator Overridable Function AddProperties (type As Type) As IEnumerable(Of PropertyInfo)

Parameters

type
Type

The type to add properties to.

Returns

IEnumerable<PropertyInfo>

A collection of additional properties for the specified type.

Remarks

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

Applies to