Skip to main 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.2+aa65968c419420d32e3e1b647aea0082f5ca5b78

AddTag(add) Method

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

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

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

Gets the symbol's definition.

Declaration

public IntermediateSymbolDefinition Definition { get; set; } 

Fields Property

Gets the symbol's fields.

Declaration

public IntermediateField[] Fields { get; set; } 

Id Property

Gets the optional identifier for the symbol.

Declaration

public Identifier Id { get; set; } 

Item Property

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

Gets the optional source line number of the symbol.

Declaration

public SourceLineNumber SourceLineNumbers { get; set; }