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

    ylbtech-System.Reflection.CustomAttibuterNamedArgument.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 struct CustomAttributeNamedArgument
        {
            //
            // 摘要:
            //     新实例初始化 System.Reflection.CustomAttributeNamedArgument 类,该类表示指定的字段或属性的自定义属性,并指定字段或属性的值。
            //
            // 参数:
            //   memberInfo:
            //     字段或属性的自定义属性。 新 System.Reflection.CustomAttributeNamedArgument 对象都表示此成员,其值。
            //
            //   value:
            //     字段或属性的自定义属性的值。
            //
            // 异常:
            //   T:System.ArgumentNullException:
            //     memberInfo 为 null。
            //
            //   T:System.ArgumentException:
            //     memberInfo 不是字段或属性的自定义属性。
            public CustomAttributeNamedArgument(MemberInfo memberInfo, object value);
            //
            // 摘要:
            //     新实例初始化 System.Reflection.CustomAttributeNamedArgument 类,该类表示指定的字段或属性的自定义属性,并指定
            //     System.Reflection.CustomAttributeTypedArgument 对象,它描述的类型和字段或属性的值。
            //
            // 参数:
            //   memberInfo:
            //     字段或属性的自定义属性。 新 System.Reflection.CustomAttributeNamedArgument 对象都表示此成员,其值。
            //
            //   typedArgument:
            //     一个对象,描述的类型和字段或属性的值。
            //
            // 异常:
            //   T:System.ArgumentNullException:
            //     memberInfo 为 null。
            public CustomAttributeNamedArgument(MemberInfo memberInfo, CustomAttributeTypedArgument typedArgument);
    
            //
            // 摘要:
            //     获取可用于设置命名的参数的属性成员。
            //
            // 返回结果:
            //     可用于设置命名的参数的属性成员。
            public MemberInfo MemberInfo { get; }
            //
            // 摘要:
            //     获取 System.Reflection.CustomAttributeTypedArgument 结构,来获取类型和值的当前命名参数。
            //
            // 返回结果:
            //     一个结构,可用来获取的类型和当前的命名参数的值。
            public CustomAttributeTypedArgument TypedValue { get; }
            //
            // 摘要:
            //     获取可用于设置命名的参数的属性成员的名称。
            //
            // 返回结果:
            //     可用于设置命名的参数的属性成员的名称。
            public string MemberName { get; }
            //
            // 摘要:
            //     获取一个值,该值指示是否已命名的参数为域。
            //
            // 返回结果:
            //     true 如果已命名的参数是更改一个字段。否则为 false。
            public bool IsField { get; }
    
            //
            // 摘要:
            //     返回一个值,该值指示此实例是否与指定的对象相等。
            //
            // 参数:
            //   obj:
            //     与此实例进行比较的对象,或为 null。
            //
            // 返回结果:
            //     如果 true 等于此实例的类型和值,则为 obj;否则为 false。
            public override bool Equals(object obj);
            //
            // 摘要:
            //     返回此实例的哈希代码。
            //
            // 返回结果:
            //     32 位有符号整数哈希代码。
            public override int GetHashCode();
            //
            // 摘要:
            //     返回由参数名称、等号和的字符串表示的参数值组成的字符串。
            //
            // 返回结果:
            //     由参数名称、等号和的字符串表示的参数值组成的字符串。
            public override string ToString();
    
            //
            // 摘要:
            //     测试两个 System.Reflection.CustomAttributeNamedArgument 结构是否相等。
            //
            // 参数:
            //   left:
            //     相等运算符左侧的结构。
            //
            //   right:
            //     相等运算符右侧的结构。
            //
            // 返回结果:
            //     如果两个 System.Reflection.CustomAttributeNamedArgument 结构相等,则为 true;否则为 false。
            public static bool operator ==(CustomAttributeNamedArgument left, CustomAttributeNamedArgument right);
            //
            // 摘要:
            //     测试两个 System.Reflection.CustomAttributeNamedArgument 结构是否不同。
            //
            // 参数:
            //   left:
            //     不等运算符左侧的结构。
            //
            //   right:
            //     不等运算符右侧的结构。
            //
            // 返回结果:
            //     如果两个 System.Reflection.CustomAttributeNamedArgument 结构不同,则为 true;否则为 false。
            public static bool operator !=(CustomAttributeNamedArgument left, CustomAttributeNamedArgument right);
        }
    }
    2、
    2.返回顶部
     
    3.返回顶部
     
    4.返回顶部
     
    5.返回顶部
     
     
    6.返回顶部
     
    warn 作者:ylbtech
    出处:http://ylbtech.cnblogs.com/
    本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
  • 相关阅读:
    使用纯 CSS 实现响应式的图片显示效果
    10个帮助你快速调试和排错的小技巧
    《JavaScript 实战》:JavaScript 实现拖拽缩放效果
    周末发福利了!26个免费的HTML5模版
    程序人生的四个象限和两条主线
    50份简历设计,助你找到梦寐以求的工作
    6个重构方法可帮你提升 80% 的代码质量
    开发者必须收藏的6款源码搜索引擎
    常用的20个强大的 Sublime Text 插件
    你知道吗?.NET Framework 4.5 五个很棒的特性
  • 原文地址:https://www.cnblogs.com/storebook/p/12676661.html
Copyright © 2011-2022 走看看