Click or drag to resize
PFSDllWrapperpfsTargetByNum Method
Return a reference to the n'th target of a parameter file.

Namespace: DHI.PFS
Assembly: DHI.PFS (in DHI.PFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
public static IntPtr pfsTargetByNum(
	IntPtr handle,
	int targetNumber
)

Parameters

handle
Type: SystemIntPtr
A pfs File handle
targetNumber
Type: SystemInt32
Number of target, 1-based

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 = pfsTargetByNum(Hand, 3);
See Also