Click or drag to resize

PFSTargetList Class

A PFSTargetList object represents a TargetList (also know as root) in a PFS file.

A PFSTargetList can have other sections inside it. Sections can be added to and deleted from the list.

A PFSTargetList can not have keywords, only PFSSection can have keywords.

Remarks
This class should be the father of class PFSSection, but this class is added into this project later than PFSSection Then, many methods in PFSSection could be moved to here in a future.
Inheritance Hierarchy
SystemObject
  DHI.PFSPFSTargetList

Namespace:  DHI.PFS
Assembly:  DHI.PFS (in DHI.PFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class PFSTargetList

The PFSTargetList type exposes the following members.

Constructors
  NameDescription
Public methodPFSTargetList
Initializes a new instance of the PFSTargetList class
Top
Properties
  NameDescription
Public propertyName
The the name of this section.
Top
Methods
  NameDescription
Public methoddeleteSection(Int32)
delete a section from this section object by section index
Public methoddeleteSection(String, Int32)
delete a section from this section object by section name and named index
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetSection(Int32)
Get number NodeNo sub-section of this PFSTargetList.
Public methodGetSection(String, Int32)
Get the number NodeNo section with name NodeName
Public methodGetSection(String, Int32, Boolean)
Get the number NodeNo section with name NodeName, null if not existing
Public methodGetSectionsCount
Get the number of sub-sections of this PFSTargetList
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsertNewSection
insert a new section with specified name into this TargetList object
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also