TypeProvider.IsSupportedProperty(PropertyInfo, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回值,這個值會決定目標.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
否則為 。