PFSDllWrapperpfsAddTargetS Method |
Add a new target (top-level section) to a parameter file object.
Silent version that throws exception on failure
Namespace:
DHI.PFS
Assembly:
DHI.PFS (in DHI.PFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntaxpublic static void pfsAddTargetS(
IntPtr handle,
string targetName
)
Public Shared Sub pfsAddTargetS (
handle As IntPtr,
targetName As String
)
public:
static void pfsAddTargetS(
IntPtr handle,
String^ targetName
)
static member pfsAddTargetS :
handle : IntPtr *
targetName : string -> unit
Parameters
- handle
- Type: SystemIntPtr
A pfsHandle pointer. - targetName
- Type: SystemString
Name of target to add.
Remarks
This function is always the first function to be called after pfsCreate,
and the target definition must be terminated by a pfsEndSection.
Restrictions: Possible previous targets must be have been properly
terminated by calls to pfsEndSection.
See Also