PFSFileGetTarget Method (String, Int32, Boolean) |
Return a reference to the n'th instance of a specific target name of a parameter file, null if not existing
Namespace: DHI.PFSAssembly: DHI.PFS (in DHI.PFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax public PFSSection GetTarget(
string targetName,
int targetNumber,
bool mandatory
)
Public Function GetTarget (
targetName As String,
targetNumber As Integer,
mandatory As Boolean
) As PFSSection
public:
PFSSection^ GetTarget(
String^ targetName,
int targetNumber,
bool mandatory
)
member GetTarget :
targetName : string *
targetNumber : int *
mandatory : bool -> PFSSection
Parameters
- targetName
- Type: SystemString
Name of target to get - targetNumber
- Type: SystemInt32
Number of target with that name, 1-based index - mandatory
- Type: SystemBoolean
Set to true if the section must be present
Return Value
Type:
PFSSectionSee Also