Skip to content

IntermediateSymbol Class

Intermediate symbol.

MethodDescription
AddTag(add)Add a custom tag to the symbol.
HasTag(has)Tests whether a symbol has a tag.
RemoveTag(remove)Removes a tag from the symbol.
PropertyDescription
DefinitionGets the symbol’s definition.
FieldsGets the symbol’s fields.
IdGets the optional identifier for the symbol.
ItemDirect access by index to the symbol’s fields.
SourceLineNumbersGets the optional source line number of the symbol.
WixToolset.Data.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

Add a custom tag to the symbol.

public bool AddTag(
string add
)
ParameterTypeDescription
addstringString tag to add to the symbol.

bool True if the tag was added; otherwise false if th tag was already present.

Tests whether a symbol has a tag.

public bool HasTag(
string has
)
ParameterTypeDescription
hasstringString tag to find.

bool True if the symbol has the tag; otherwise false.

Removes a tag from the symbol.

public bool RemoveTag(
string remove
)
ParameterTypeDescription
removestringString tag to remove.

bool True if the tag was removed; otherwise false if the tag was not present.

Gets the symbol’s definition.

public IntermediateSymbolDefinition Definition { get; set; }

Gets the symbol’s fields.

public IntermediateField[] Fields { get; set; }

Gets the optional identifier for the symbol.

public Identifier Id { get; set; }

Direct access by index to the symbol’s fields.

public IntermediateField Item[
int index
] { get; set; }
ParameterTypeDescription
indexintIndex of the field to access.

Gets the optional source line number of the symbol.

public SourceLineNumber SourceLineNumbers { get; set; }