System.AttributeTargets.cs

ylbtech-System.AttributeTargets.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
{
    //
    // 摘要:
    //     指定可应用属性的应用程序元素。
    [ComVisible(true)]
    [Flags]
    public enum AttributeTargets
    {
        //
        // 摘要:
        //     特性可以应用于程序集。
        Assembly = 1,
        //
        // 摘要:
        //     特性可以应用于模块中。
        Module = 2,
        //
        // 摘要:
        //     特性可以应用于类。
        Class = 4,
        //
        // 摘要:
        //     特性可以应用于结构;即,类型值。
        Struct = 8,
        //
        // 摘要:
        //     特性可以应用于枚举。
        Enum = 16,
        //
        // 摘要:
        //     特性可以应用于构造函数。
        Constructor = 32,
        //
        // 摘要:
        //     特性可以应用于方法。
        Method = 64,
        //
        // 摘要:
        //     特性可以应用于属性。
        Property = 128,
        //
        // 摘要:
        //     特性可以应用于字段。
        Field = 256,
        //
        // 摘要:
        //     特性可以应用于事件。
        Event = 512,
        //
        // 摘要:
        //     特性可以应用于接口。
        Interface = 1024,
        //
        // 摘要:
        //     特性可以应用于参数。
        Parameter = 2048,
        //
        // 摘要:
        //     特性可以应用于委托。
        Delegate = 4096,
        //
        // 摘要:
        //     特性可以应用于返回的值。
        ReturnValue = 8192,
        //
        // 摘要:
        //     特性可以应用于泛型参数。
        GenericParameter = 16384,
        //
        // 摘要:
        //     特性可以应用于任何应用程序元素。
        All = 32767
    }
}
2、
2.返回顶部
 
3.返回顶部
 
4.返回顶部
 
5.返回顶部
 
 
6.返回顶部
 
warn 作者:ylbtech
出处:http://ylbtech.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
原文地址:https://www.cnblogs.com/storebook/p/13224339.html