DefaultParameterValueAttribute Class | |
this class is used to mark default parameter values in the middle of a parameter list.
Inheritance Hierarchy Object
Attribute
DefaultParameterValueAttribute
Namespace:
XSharp.Internal
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax SEALED CLASS DefaultParameterValueAttribute INHERIT Attribute
public sealed class DefaultParameterValueAttribute : Attribute
Request Example
View SourceThe DefaultParameterValueAttribute type exposes the following members.
Constructors Properties
| Name | Description |
---|
| Flag | Flag indicating the type of the default parameter |
| Value | Value of the default parameter |
TopRemarks
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.
See Also