CustomReflectionContext.AddProperties(Type) Metódus

Definíció

Ha egy származtatott osztályban felül van bírálva, a megadott típushoz további tulajdonságok gyűjteményét adja meg, ahogyan az ebben a tükröződési környezetben látható.

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)

Paraméterek

type
Type

Az a típus, amelybe tulajdonságokat szeretne felvenni.

Válaszok

A megadott típushoz tartozó további tulajdonságok gyűjteménye.

Megjegyzések

Felülbírálja ezt a metódust, és adja meg, hogy mely tulajdonságokat kell hozzáadni egy adott típushoz. A tulajdonságok létrehozásához használja a metódust CreateProperty .

A következőre érvényes: