Click or drag to resize
PFSExtensions Class
Static class, providing a set of help or convenience functionality in the form of extension methods.
Inheritance Hierarchy
SystemObject
  DHI.PFSPFSExtensions

Namespace: DHI.PFS
Assembly: DHI.PFS (in DHI.PFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
public static class PFSExtensions

The PFSExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddDate
Add a date as 3 integers (yyyy, MM, dd). The time part is ignored

Restrictions: The function is only valid within the scope of a keyword.

Public methodStatic memberAddDateTime
Add a date and time as 6 integers (year, month, day, hours, minutes, seconds).

Restrictions: The function is only valid within the scope of a keyword.

Public methodStatic memberAddDouble(IPFSBuilder, IEnumerableDouble)
Add a number of double precision floating-point (real) values.

The output format is some 'default' format. Check if it may cause loss of precision.

Restrictions: The function is only valid within the scope of a keyword.

Public methodStatic memberAddDouble(IPFSBuilder, Double)
Add a number of double precision floating-point (real) values.

The output format is some 'default' format. Check if it may cause loss of precision.

Restrictions: The function is only valid within the scope of a keyword.

Public methodStatic memberAddInt(IPFSBuilder, IEnumerableInt32)
Add a number of four-byte integer.

Restrictions: The function is only valid within the scope of a keyword

Public methodStatic memberAddInt(IPFSBuilder, Int32)
Add a number of four-byte integer.

Restrictions: The function is only valid within the scope of a keyword

Public methodStatic memberAddKeywordValues
Define a keyword, and adds a number of default type of parameters. A convenience method that will call the appropriate Add method for the provided type.

Each parameter must be one of the types:

It can not handle filenames and CLOBs.

Restrictions: This function must be called within the scope of a section.

Public methodStatic memberAddTime
Add a time as 3 integers (hours, minutes, seconds). The date part is ignored

Restrictions: The function is only valid within the scope of a keyword.

Public methodStatic memberFindSection Obsolete.
Look in all targets of the pfs file and try find a section with the provided section name. It will not recurse into sub-sections, but only "level-2" sections are looked for.
Top
See Also