Click or drag to resize

DefaultParameterValueAttribute Class

X#
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
Request Example View Source

The DefaultParameterValueAttribute type exposes the following members.

Constructors
  NameDescription
Public methodDefaultParameterValueAttribute
Initializes a new instance of the DefaultParameterValueAttribute class
Top
Properties
  NameDescription
Public propertyFlag
Flag indicating the type of the default parameter
Public propertyValue
Value of the default parameter
Top
Remarks
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