_MemberInfo.GetCustomAttributes 方法 (System.Runtime.InteropServices) | Microsoft Docs
为 COM 对象提供对 GetCustomAttributes 方法的与版本无关的访问。
https://docs.microsoft.com/zh-cn/dotnet/api/system.runtime.interopservices._memberinfo.getcustomattributes?redirectedfrom=MSDN&view=netframework-4.8#System_Runtime_InteropServices__MemberInfo_GetCustomAttributes_System_Boolean_