Click or drag to resize
PFSDllWrapperpfsSectionByNameNum Method
Returns a reference to the n'th instance of a specific subsection name of the pfsNode (target/section) passed as argument.

Namespace: DHI.PFS
Assembly: DHI.PFS (in DHI.PFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
public static IntPtr pfsSectionByNameNum(
	IntPtr section,
	string sectionName,
	int sectionNum
)

Parameters

section
Type: SystemIntPtr
A pfsNode pointer
sectionName
Type: SystemString
Name of section.
sectionNum
Type: SystemInt32
Number of section with that name.

Return Value

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