System.Reflection.ParameterAttributes.cs

ylbtech-System.Reflection.ParameterAttributes.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
{
    //
    // 摘要:
    //     定义可以与参数相关联的属性。 这些属性在 CorHdr.h 中进行定义。
    [ComVisible(true)]
    [Flags]
    public enum ParameterAttributes
    {
        //
        // 摘要:
        //     指定没有参数的属性。
        None = 0,
        //
        // 摘要:
        //     指定该参数是输入的参数。
        In = 1,
        //
        // 摘要:
        //     指定该参数是输出参数。
        Out = 2,
        //
        // 摘要:
        //     指定该参数是区域设置标识符 (lcid)。
        Lcid = 4,
        //
        // 摘要:
        //     指定该参数是返回值。
        Retval = 8,
        //
        // 摘要:
        //     指定该参数是可选的。
        Optional = 16,
        //
        // 摘要:
        //     指定的参数具有默认值。
        HasDefault = 4096,
        //
        // 摘要:
        //     指定该参数具有字段封送处理信息。
        HasFieldMarshal = 8192,
        //
        // 摘要:
        //     保留。
        Reserved3 = 16384,
        //
        // 摘要:
        //     保留。
        Reserved4 = 32768,
        //
        // 摘要:
        //     指定该参数保留。
        ReservedMask = 61440
    }
}
2、
2.返回顶部
 
3.返回顶部
 
4.返回顶部
 
5.返回顶部
 
 
6.返回顶部
 
warn 作者:ylbtech
出处:http://ylbtech.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
原文地址:https://www.cnblogs.com/storebook/p/12677676.html