CustomReflectionContext.AddProperties(Type) Metode

Definisi

Saat ditimpa dalam kelas turunan, menyediakan kumpulan properti tambahan untuk jenis yang ditentukan, seperti yang diwakili dalam konteks pantulan ini.

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)

Parameter

type
Type

Jenis untuk menambahkan properti.

Mengembalikan

Kumpulan properti tambahan untuk jenis yang ditentukan.

Keterangan

Ambil alih metode ini untuk menentukan properti mana yang harus ditambahkan ke jenis tertentu. Untuk membuat properti, gunakan CreateProperty(Type, String, Func<Object,Object>, Action<Object,Object>) metode .

Berlaku untuk