CustomReflectionContext.AddProperties(Type) Método

Definição

Quando sobrescrito numa classe derivada, fornece um conjunto de propriedades adicionais para o tipo especificado, conforme representado neste contexto de reflexão.

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

O tipo a adicionar propriedades.

Devoluções

Um conjunto de propriedades adicionais para o tipo especificado.

Observações

Substitua este método para especificar quais as propriedades que devem ser adicionadas a um dado tipo. Para criar as propriedades, use o CreateProperty método.

Aplica-se a