XamlType.LookupCustomAttributeProvider Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented in a derived class, returns an ICustomAttributeProvider implementation.
protected:
virtual System::Reflection::ICustomAttributeProvider ^ LookupCustomAttributeProvider();
protected virtual System.Reflection.ICustomAttributeProvider LookupCustomAttributeProvider ();
abstract member LookupCustomAttributeProvider : unit -> System.Reflection.ICustomAttributeProvider
override this.LookupCustomAttributeProvider : unit -> System.Reflection.ICustomAttributeProvider
Protected Overridable Function LookupCustomAttributeProvider () As ICustomAttributeProvider
Returns
An ICustomAttributeProvider implementation.
Remarks
Override this method to provide the internal reflection with an alternative way to obtain CLR attribute values. In absence of an override, the internal reflector uses typical CLR reflection logic.
The default implementation returns null
.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา