Class ParameterDescription
A parameter of a member or of an event.
public sealed record ParameterDescription : IEquatable<ParameterDescription>
- Inheritance
-
ParameterDescription
- Implements
- Inherited Members
Properties
DefaultValue
The value an optional parameter takes when its argument is left out, written as a VBA literal, when the library states one.
public string? DefaultValue { get; init; }
Property Value
IsByVal
Whether it is passed by value. A parameter is passed by reference unless it says otherwise.
public bool IsByVal { get; init; }
Property Value
IsOptional
Whether the argument may be left out.
public bool IsOptional { get; init; }
Property Value
IsParamArray
Whether it is a ParamArray.
public bool IsParamArray { get; init; }
Property Value
Name
The name of the parameter.
public string Name { get; init; }
Property Value
Type
The type of the parameter, written as VBA source writes it: an intrinsic type (Long, Variant), a type of the library (Worksheet),
a type of another library (Office.CommandBar), or any of them as an array (String()).
public string Type { get; init; }