Component Placement(Placement Action, String, Int 32) 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: 2026.1.20.0
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
public ComponentPlacement(
PlacementAction placement,
string id,
int instance
)VB
Public Sub New (
placement As PlacementAction,
id As String,
instance As Integer
)C++
public:
ComponentPlacement(
PlacementAction placement,
String^ id,
int instance
)F#
new :
placement : PlacementAction *
id : string *
instance : int -> ComponentPlacementParameters
- 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
| ArgumentException | This is thrown if Before, After, or Replace is specified without an ID or if instance is less than one. |