CustomReflectionContext.AddProperties(Type) Método

Definición

Cuando se reemplaza en una clase derivada, proporciona una colección de propiedades adicionales para el tipo especificado, como se representa en este contexto de reflexión.

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)

Parámetros

type
Type

Tipo al que agregar propiedades.

Devoluciones

IEnumerable<PropertyInfo>

Colección de propiedades adicionales del tipo especificado.

Comentarios

Invalide este método para especificar qué propiedades se deben agregar a un tipo determinado. Para crear las propiedades, use el CreateProperty método .

Se aplica a