Click or drag to resize

PFSDllWrapperpfsTargetByNameNum 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 pfsTargetByNameNum(
	IntPtr handle,
	string targetName,
	int targetNo1
)

Parameters

handle
Type: SystemIntPtr
A pfsHandle pointer
targetName
Type: SystemString
Target name
targetNo1
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