DefaultParameterValueAttribute 类 | |
this class is used to mark default parameter values in the middle of a parameter list.
继承层次 Object
Attribute
DefaultParameterValueAttribute
命名空间:
XSharp.Internal
程序集:
XSharp.Core (在 XSharp.Core.dll 中) 版本:2.22 GA
语法 SEALED CLASS DefaultParameterValueAttribute INHERIT Attribute
public sealed class DefaultParameterValueAttribute : Attribute
查看代码DefaultParameterValueAttribute 类型公开以下成员。
构造函数 属性
| 名称 | 说明 |
---|
| Flag | Flag indicating the type of the default parameter |
| Value | Value of the default parameter |
Top备注
It is used when compiling in VO or Vulcan mode.
And only for parameters that are followed by parameters without default value (because that is not supported by the .Net framework).
The X# compiler will find this attribute at compile time and will insert its value into the argument list.
参见