Click or drag to resize

PfsHelperPfsGetTarget Method

Return a reference to the n'th instance of a specific target name of a parameter file.

Namespace:  DHI.PFS
Assembly:  DHI.PFS (in DHI.PFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static IntPtr PfsGetTarget(
	IntPtr pfsRoot,
	string targetName,
	int targetNo
)

Parameters

pfsRoot
Type: SystemIntPtr
A pfsHandle pointer
targetName
Type: SystemString
Target name
targetNo
Type: SystemInt32
Number of target with that name

Return Value

Type: IntPtr
A PfsNode pointer
Remarks
If the target does not exist, NULL is returned.
Examples
pfsHandle Hand = pfsLoadFile("somefile.pfv",FALSE); pfsNode Targ = pfsTargetByNameNum(Hand, "T0plot", 2);
See Also