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.PFSAssembly: 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
)
Public Shared Function pfsSectionByNameNum (
section As IntPtr,
sectionName As String,
sectionNum As Integer
) As IntPtr
public:
static IntPtr pfsSectionByNameNum(
IntPtr section,
String^ sectionName,
int sectionNum
)
static member pfsSectionByNameNum :
section : IntPtr *
sectionName : string *
sectionNum : int -> IntPtr
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:
IntPtrA 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