zoukankan      html  css  js  c++  java
  • System.Reflection.ICustomAttributerProvider.cs

    ylbtech-System.Reflection.ICustomAttributerProvider.cs
    1.返回顶部
    1、
    #region 程序集 mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    // C:Program Files (x86)Reference AssembliesMicrosoftFramework.NETFrameworkv4.6.1mscorlib.dll
    #endregion
    
    using System.Runtime.InteropServices;
    
    namespace System.Reflection
    {
        //
        // 摘要:
        //     为支持自定义属性的反映对象提供自定义属性。
        [ComVisible(true)]
        public interface ICustomAttributeProvider
        {
            //
            // 摘要:
            //     返回在该成员上定义、由类型标识的自定义属性数组,如果没有该类型的自定义属性,则返回空数组。
            //
            // 参数:
            //   attributeType:
            //     自定义属性的类型。
            //
            //   inherit:
            //     为 true 时,查找继承的自定义特性的层次结构链。
            //
            // 返回结果:
            //     表示自定义特性的对象数组或空数组。
            //
            // 异常:
            //   T:System.TypeLoadException:
            //     无法加载自定义特性类型。
            //
            //   T:System.ArgumentNullException:
            //     attributeType 为 null。
            object[] GetCustomAttributes(Type attributeType, bool inherit);
            //
            // 摘要:
            //     返回在该成员上定义的所有自定义特性的数组(已命名的特性除外),如果没有自定义特性,则返回空数组。
            //
            // 参数:
            //   inherit:
            //     为 true 时,查找继承的自定义特性的层次结构链。
            //
            // 返回结果:
            //     表示自定义特性的对象数组或空数组。
            //
            // 异常:
            //   T:System.TypeLoadException:
            //     无法加载自定义特性类型。
            //
            //   T:System.Reflection.AmbiguousMatchException:
            //     此成员上定义了多个 attributeType 类型的特性。
            object[] GetCustomAttributes(bool inherit);
            //
            // 摘要:
            //     指示是否在该成员上定义了一个或多个 attributeType 实例。
            //
            // 参数:
            //   attributeType:
            //     自定义属性的类型。
            //
            //   inherit:
            //     为 true 时,查找继承的自定义特性的层次结构链。
            //
            // 返回结果:
            //     如果在该成员上定义 attributeType,则为 true;否则为 false。
            bool IsDefined(Type attributeType, bool inherit);
        }
    }
    2、
    2.返回顶部
     
    3.返回顶部
     
    4.返回顶部
     
    5.返回顶部
     
     
    6.返回顶部
     
    warn 作者:ylbtech
    出处:http://ylbtech.cnblogs.com/
    本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
  • 相关阅读:
    hdu 3085
    hdu 3295 模拟过程。数据很水
    hdu 2181 水搜索
    pku ppt some problem
    2-sat
    The 2014 ACM-ICPC Asia Mudanjiang Regional First Round
    nenu contest3
    The 10th Zhejiang Provincial Collegiate Programming Contest
    最小费用最大流
    多源最短路
  • 原文地址:https://www.cnblogs.com/storebook/p/12676597.html
Copyright © 2011-2022 走看看