Skip to main content

IntermediateSection Class

Section in an intermediate file.

Methods

MethodDescription
AssignToLibrary(libraryId)Assigns the section to a library.
RemoveSymbol(symbol)Removes a symbol from the section.

Properties

PropertyDescription
CompilationIdGets and sets the identifier of the compilation of the source file containing the section.
IdGets the identifier for the section.
LibraryIdGets and sets the identifier of the library that combined the section.
SymbolsSymbols in the section.
TypeGets the type of the section.

WixToolset.Data.dll version 5.0.0-rc.2+dbb148c20d2490cf85f3f62f7d59f8dbc5c1a2c5

AssignToLibrary(libraryId) Method

Assigns the section to a library.

Declaration

public IntermediateSection AssignToLibrary(
string libraryId
)

Parameters

ParameterTypeDescription
libraryIdstringIdentifier of the library.

RemoveSymbol(symbol) Method

Removes a symbol from the section.

Declaration

public bool RemoveSymbol(
IntermediateSymbol symbol
)

Parameters

ParameterTypeDescription
symbolIntermediateSymbolSymbol to remove.

Return value

bool True if the symbol was removed; otherwise false.

CompilationId Property

Gets and sets the identifier of the compilation of the source file containing the section.

Declaration

public string CompilationId { get; set; } 

Id Property

Gets the identifier for the section.

Declaration

public string Id { get; set; } 

LibraryId Property

Gets and sets the identifier of the library that combined the section.

Declaration

public string LibraryId { get; set; } 

Symbols Property

Symbols in the section.

Declaration

public System.Collections.Generic.IReadOnlyCollection<WixToolset.Data.IntermediateSymbol> Symbols { get; set; } 

Type Property

Gets the type of the section.

Declaration

public SectionType Type { get; set; }