Class VBUserDefinedTypeFieldSymbol
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
WorkspaceRootUriThe workspace root for this symbol. For an external project or library, this should be different than the user's project workspace.
ParentUriUriThe
Uriof the enclosing user-defined-type symbol.NamestringThe identifier name of the field.
ResolvedTypeVBTypeThe resolved
VBTypeof this field. UseVBUnknownTypeif the type isn't resolved yet.RangeSourceRangeA
Rangepointing to the document location that belongs to this symbol.SelectionRangeSourceRangeA
Rangepointing to the document location that should be selected when navigating to this symbol.AccessModifierAccessModifierThe access modifier specified for this symbol. Use
AccessModifier.Implicitif none is specified.