PFSDllWrapperpfsTargetByNameNum 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 pfsTargetByNameNum(
IntPtr handle,
string targetName,
int targetNo1
)
Public Shared Function pfsTargetByNameNum (
handle As IntPtr,
targetName As String,
targetNo1 As Integer
) As IntPtr
public:
static IntPtr pfsTargetByNameNum(
IntPtr handle,
String^ targetName,
int targetNo1
)
static member pfsTargetByNameNum :
handle : IntPtr *
targetName : string *
targetNo1 : int -> IntPtr
Parameters
- handle
- Type: SystemIntPtr
A pfsHandle pointer - targetName
- Type: SystemString
Target name - targetNo1
- 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