IntermediateSymbol Class
Intermediate symbol.
Methods
Method | Description |
---|---|
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
Property | Description |
---|---|
Definition | Gets the symbol’s definition. |
Fields | Gets the symbol’s fields. |
Id | Gets the optional identifier for the symbol. |
Item | Direct access by index to the symbol’s fields. |
SourceLineNumbers | Gets 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
Parameter | Type | Description |
---|---|---|
add | string | String 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
Parameter | Type | Description |
---|---|---|
has | string | String 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
Parameter | Type | Description |
---|---|---|
remove | string | String 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
Parameter | Type | Description |
---|---|---|
index | int | Index of the field to access. |
SourceLineNumbers Property {#sourcelinenumbers}
Gets the optional source line number of the symbol.
Declaration
public SourceLineNumber SourceLineNumbers { get; set; }