Component Placement(Placement Action, 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: 2026.1.20.0
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
public ComponentPlacement(
PlacementAction placement,
string id
)VB
Public Sub New (
placement As PlacementAction,
id As String
)C++
public:
ComponentPlacement(
PlacementAction placement,
String^ id
)F#
new :
placement : PlacementAction *
id : string -> ComponentPlacementParameters
- placement PlacementAction
- The placement action to use
- id String
- A build component ID for use with the Before, After, or ReplacePlacement action.
Exceptions
| ArgumentException | This is thrown if Before, After, or Replace is specified without an ID or if one is specified with None, Start, or End. |