RuntimeReflectionExtensions.GetRuntimeProperties(Type) Metode

Definisi

Mengambil koleksi yang mewakili semua properti yang ditentukan pada jenis tertentu.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<System::Reflection::PropertyInfo ^> ^ GetRuntimeProperties(Type ^ type);
public static System.Collections.Generic.IEnumerable<System.Reflection.PropertyInfo> GetRuntimeProperties (this Type type);
static member GetRuntimeProperties : Type -> seq<System.Reflection.PropertyInfo>
<Extension()>
Public Function GetRuntimeProperties (type As Type) As IEnumerable(Of PropertyInfo)

Parameter

type
Type

Jenis yang berisi properti.

Mengembalikan

Kumpulan properti untuk jenis yang ditentukan.

Pengecualian

typeadalah null.

Keterangan

Metode ini mengembalikan semua properti yang ditentukan pada jenis yang ditentukan, termasuk properti yang diwariskan, non-publik, instans, dan statis.

Berlaku untuk

Lihat juga