PFSSectionGetSection Method (String, Int32, Boolean) |
Get the n'ths section instance with the specified name.
To get the first section of a certain name, use
section.GetSection("sectionName", 1, true);
Namespace: DHI.PFSAssembly: DHI.PFS (in DHI.PFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax public PFSSection GetSection(
string sectionName,
int sectionNumber,
bool mandatory
)
Public Function GetSection (
sectionName As String,
sectionNumber As Integer,
mandatory As Boolean
) As PFSSection
public:
PFSSection^ GetSection(
String^ sectionName,
int sectionNumber,
bool mandatory
)
member GetSection :
sectionName : string *
sectionNumber : int *
mandatory : bool -> PFSSection
Parameters
- sectionName
- Type: SystemString
Name of section to get - sectionNumber
- Type: SystemInt32
Number of section with that name to get. - mandatory
- Type: SystemBoolean
If set to true a PFSException will be thrown in case the section does not exist
Return Value
Type:
PFSSectionPFSSection, null if not found.
See Also