Table of Contents

Class VBParameterSymbol

Namespace
RDCore.SDK.Model.Symbols.VBProject
Assembly
RDCore.SDK.dll

Represents a parameter symbol.

public record VBParameterSymbol : VBLocalVariableSymbol, IEquatable<Symbol>, IEquatable<BoundSymbol>, IEquatable<BoundTypedSymbol>, IEquatable<VBLocalVariableSymbol>, IEquatable<VBParameterSymbol>
Inheritance
VBParameterSymbol
Implements
Derived
Inherited Members

Constructors

VBParameterSymbol(Uri, Uri, string, Range, Range, ParameterKind, VBType, bool)

Represents a parameter symbol.

public VBParameterSymbol(Uri WorkspaceRoot, Uri ParentUri, string Name, Range Range, Range SelectionRange, ParameterKind ParameterKind, VBType ResolvedType, bool IsOptional = false)

Parameters

WorkspaceRoot Uri

The workspace root for this symbol. For an external project or library, this should be different than the user's project workspace.

ParentUri Uri

The Uri of the parent symbol.

Name string

The identifier name of the symbol.

Range Range

A Range pointing to the document location that belongs to this symbol.

SelectionRange Range

A Range pointing to the document location that should be selected when navigating to this symbol.

ParameterKind ParameterKind

Describes how an argument is passed to this parameter.

ResolvedType VBType

The resolved type of the symbol, if available. VBUnknownType otherwise.

IsOptional bool

true if the parameter has an Optional token.

Properties

IsOptional

true if the parameter has an Optional token.

public bool IsOptional { get; init; }

Property Value

bool

ParameterKind

Describes how an argument is passed to this parameter.

public ParameterKind ParameterKind { get; init; }

Property Value

ParameterKind