ComponentPlacement(PlacementAction, String, Int32) Constructor

Constructor. Indicate the placement action, component ID, and instance to act on.

Definition

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

Parameters

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

Exceptions

ArgumentExceptionThis is thrown if Before, After, or Replace is specified without an ID or if instance is less than one.

See Also