TypeProvider.IsSupportedProperty(PropertyInfo, Object) 方法

定義

傳回值,這個值會決定目標.NET Framework中是否支援指定的屬性。

public:
 bool IsSupportedProperty(System::Reflection::PropertyInfo ^ property, System::Object ^ declaringInstance);
public bool IsSupportedProperty (System.Reflection.PropertyInfo property, object declaringInstance);
member this.IsSupportedProperty : System.Reflection.PropertyInfo * obj -> bool
Public Function IsSupportedProperty (property As PropertyInfo, declaringInstance As Object) As Boolean

參數

property
PropertyInfo

要解析的屬性。

declaringInstance
Object

宣告指定型別所在的執行個體。

傳回

true如果目標.NET Framework支援指定的屬性,則為 , false 否則為 。

適用於