TypeInfo.GetDeclaredProperty(String) Yöntem

Tanım

Geçerli tür tarafından bildirilen belirtilen özelliği temsil eden bir nesne döndürür.

public:
 virtual System::Reflection::PropertyInfo ^ GetDeclaredProperty(System::String ^ name);
public virtual System.Reflection.PropertyInfo GetDeclaredProperty (string name);
public virtual System.Reflection.PropertyInfo? GetDeclaredProperty (string name);
abstract member GetDeclaredProperty : string -> System.Reflection.PropertyInfo
override this.GetDeclaredProperty : string -> System.Reflection.PropertyInfo
Public Overridable Function GetDeclaredProperty (name As String) As PropertyInfo

Parametreler

name
String

Özelliğin adı.

Döndürülenler

Bulunursa, belirtilen özelliği temsil eden bir nesne; aksi takdirde , null.

Özel durumlar

name, null değeridir.

Şunlara uygulanır