Skip to content

IntermediateSymbol Class

Intermediate symbol.

Methods

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.

Properties

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

AddTag(add) Method {#addtag_add}

Add a custom tag to the symbol.

Declaration

public bool AddTag(
string add
)

Parameters

ParameterTypeDescription
addstringString tag to add to the symbol.

Return value

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

HasTag(has) Method {#hastag_has}

Tests whether a symbol has a tag.

Declaration

public bool HasTag(
string has
)

Parameters

ParameterTypeDescription
hasstringString tag to find.

Return value

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

RemoveTag(remove) Method {#removetag_remove}

Removes a tag from the symbol.

Declaration

public bool RemoveTag(
string remove
)

Parameters

ParameterTypeDescription
removestringString tag to remove.

Return value

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

Definition Property {#definition}

Gets the symbol’s definition.

Declaration

public IntermediateSymbolDefinition Definition { get; set; }

Fields Property {#fields}

Gets the symbol’s fields.

Declaration

public IntermediateField[] Fields { get; set; }

Id Property {#id}

Gets the optional identifier for the symbol.

Declaration

public Identifier Id { get; set; }

Item Property {#item}

Direct access by index to the symbol’s fields.

Declaration

public IntermediateField Item[
int index
] { get; set; }

Parameters

ParameterTypeDescription
indexintIndex of the field to access.

SourceLineNumbers Property {#sourcelinenumbers}

Gets the optional source line number of the symbol.

Declaration

public SourceLineNumber SourceLineNumbers { get; set; }