PfsHelperPfsGetTarget 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)
Syntaxpublic static IntPtr PfsGetTarget(
	IntPtr pfsRoot,
	string targetName,
	int targetNo
)
Public Shared Function PfsGetTarget ( 
	pfsRoot As IntPtr,
	targetName As String,
	targetNo As Integer
) As IntPtr
public:
static IntPtr PfsGetTarget(
	IntPtr pfsRoot, 
	String^ targetName, 
	int targetNo
)
static member PfsGetTarget : 
        pfsRoot : IntPtr * 
        targetName : string * 
        targetNo : int -> IntPtr 
Parameters
- pfsRoot
 - Type: SystemIntPtr
A pfsHandle pointer - targetName
 - Type: SystemString
Target name - targetNo
 - Type: SystemInt32
Number of target with that name 
Return Value
Type: 
IntPtrA PfsNode pointer
RemarksIf the target does not exist, NULL is returned. 
Examples
            pfsHandle Hand = pfsLoadFile("somefile.pfv",FALSE);
            pfsNode Targ = pfsTargetByNameNum(Hand, "T0plot", 2);
            
See Also