Bagikan melalui


CustomReflectionContext.AddProperties(Type) Metode

Definisi

Saat ditimpa di kelas turunan, menyediakan kumpulan properti tambahan untuk jenis yang ditentukan, seperti yang diwakili dalam konteks refleksi 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 metode .

Berlaku untuk