ComponentPlacement(PlacementAction, String) Constructor

Constructor. Indicate the placement action and an optional component ID related to it if needed.

Definition

Namespace: Sandcastle.Core.BuildAssembler.BuildComponent
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public ComponentPlacement(
	PlacementAction placement,
	string id
)

Parameters

placement  PlacementAction
The placement action to use
id  String
A build component ID for use with the Before, After, or ReplacePlacement action.

Exceptions

ArgumentExceptionThis is thrown if Before, After, or Replace is specified without an ID or if one is specified with None, Start, or End.

See Also