RuntimeReflectionExtensions.GetRuntimeProperty(Type, String) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belirtilen özelliği temsil eden bir nesneyi alır.
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::PropertyInfo ^ GetRuntimeProperty(Type ^ type, System::String ^ name);
public static System.Reflection.PropertyInfo GetRuntimeProperty(this Type type, string name);
public static System.Reflection.PropertyInfo? GetRuntimeProperty(this Type type, string name);
static member GetRuntimeProperty : Type * string -> System.Reflection.PropertyInfo
<Extension()>
Public Function GetRuntimeProperty (type As Type, name As String) As PropertyInfo
Parametreler
- type
- Type
özelliğini içeren tür.
- name
- String
Özelliğin adı.
Döndürülenler
Belirtilen özelliği temsil eden veya null özellik bulunamazsa bir nesne.
Özel durumlar
type bir RuntimeTypedeğildir.
İstenen ada sahip birden fazla özellik bulundu.