PfsHelperPfsGetSection Method (IntPtr, Int32) |
Return a reference to the n'th section of the pfsNode (target/section) passed as argument.
Namespace:
DHI.PFS
Assembly:
DHI.PFS (in DHI.PFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntaxpublic static IntPtr PfsGetSection(
IntPtr pfsSect,
int sectNo
)
Public Shared Function PfsGetSection (
pfsSect As IntPtr,
sectNo As Integer
) As IntPtr
public:
static IntPtr PfsGetSection(
IntPtr pfsSect,
int sectNo
)
static member PfsGetSection :
pfsSect : IntPtr *
sectNo : int -> IntPtr
Parameters
- pfsSect
- Type: SystemIntPtr
A pfsNode pointer - sectNo
- Type: SystemInt32
Return Value
Type:
IntPtrA PfsNode pointer
RemarksIf the section does not exist, NULL is returned.
Examples
pfsHandle Hand = pfsLoadFile("somefile.pfv",FALSE);
pfsNode Targ = pfsTargetByNum(Hand, 3);
pfsNode section = pfsSectionByNum(Targ, 1);
See Also