Class DefaultMemberFact
The default member of a class, as an expression of the class's type has it: the member a value of the expression is read or assigned through (MS-VBAL §5.6.2.3, §5.4.3.8).
public sealed record DefaultMemberFact : IEquatable<DefaultMemberFact>
- Inheritance
-
DefaultMemberFact
- Implements
- Inherited Members
Constructors
DefaultMemberFact(string, ExpressionClassification, PropertyAccessors, int)
The default member of a class, as an expression of the class's type has it: the member a value of the expression is read or assigned through (MS-VBAL §5.6.2.3, §5.4.3.8).
public DefaultMemberFact(string Name, ExpressionClassification Classification, PropertyAccessors Accessors, int RequiredParameters)
Parameters
NamestringThe name of the member.
ClassificationExpressionClassificationWhat the member is: a Function, a Property, or a Subroutine.
AccessorsPropertyAccessorsThe accessors of the member, for a property; None for any other member.
RequiredParametersintHow many parameters of the member are neither
Optionalnor aParamArray: the fewest arguments a call of it can be given.
Properties
Accessors
The accessors of the member, for a property; None for any other member.
public PropertyAccessors Accessors { get; init; }
Property Value
Classification
What the member is: a Function, a Property, or a Subroutine.
public ExpressionClassification Classification { get; init; }
Property Value
Name
The name of the member.
public string Name { get; init; }
Property Value
RequiredParameters
How many parameters of the member are neither Optional nor a ParamArray: the fewest arguments a call of it can be given.
public int RequiredParameters { get; init; }