Table of Contents

Class VBUserDefinedTypeFieldSymbol

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

Represents a field (element) of a user-defined Type … End Type declaration (MS-VBAL 5.2.3.3). Unlike a module field it is not independently accessible — it is reached only through an instance of its enclosing type — so it is a distinct symbol whose ParentUri is the VBUserDefinedTypeMemberSymbol, not the module.

public sealed record VBUserDefinedTypeFieldSymbol : VBReturningMemberSymbol, IEquatable<Symbol>, IEquatable<BoundSymbol>, ITypedSymbol, IEquatable<BoundTypedSymbol>, IEquatable<AccessibleTypedSymbol>, IEquatable<VBTypeMemberSymbol>, IEquatable<VBReturningMemberSymbol>, IEquatable<VBUserDefinedTypeFieldSymbol>
Inheritance
VBUserDefinedTypeFieldSymbol
Implements
Inherited Members

Constructors

VBUserDefinedTypeFieldSymbol(Uri, Uri, string, VBType, SourceRange, SourceRange, AccessModifier)

Represents a field (element) of a user-defined Type … End Type declaration (MS-VBAL 5.2.3.3). Unlike a module field it is not independently accessible — it is reached only through an instance of its enclosing type — so it is a distinct symbol whose ParentUri is the VBUserDefinedTypeMemberSymbol, not the module.

public VBUserDefinedTypeFieldSymbol(Uri WorkspaceRoot, Uri ParentUri, string Name, VBType ResolvedType, SourceRange Range, SourceRange SelectionRange, AccessModifier AccessModifier)

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 enclosing user-defined-type symbol.

Name string

The identifier name of the field.

ResolvedType VBType

The resolved VBType of this field. Use VBUnknownType if the type isn't resolved yet.

Range SourceRange

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

SelectionRange SourceRange

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

AccessModifier AccessModifier

The access modifier specified for this symbol. Use AccessModifier.Implicit if none is specified.