PFSSection Class |
A PFSSection can have other sections and keywords inside it.
Namespace: DHI.PFS
The PFSSection type exposes the following members.
Name | Description | |
---|---|---|
![]() | PFSSection |
Initialize a new PFSSection with the given pfsNode pointer.
|
Name | Description | |
---|---|---|
![]() | ItemInt32 | Obsolete.
Get the section at the specified index.
Short of GetSection(Int32), as in GetSection(sectionIndex+1); |
![]() | ItemString |
Get the first section with the specified name
Short of GetSection(String, Int32, Boolean) as GetSection(sectionName, 1, false); |
![]() | ItemString, Int32 |
Get the n'th section with the specified name
Short of GetSection(String, Int32, Boolean) as GetSection(sectionName, sectionNameIndex+1, false); |
![]() | Name |
Name of section.
|
Name | Description | |
---|---|---|
![]() | DeleteKeyword(Int32) |
Delete a keyword from this section by keyword number
To delete the first keyword in the section, use section.DeleteKeyword(1) |
![]() | DeleteKeyword(String, Int32) |
Delete a keyword from this section by keyword name and named index
To delete the first keyword with some name, use section.DeleteKeyword("keywordName", 1) |
![]() | DeleteSection(Int32) |
Delete a section from this section object by section index
|
![]() | DeleteSection(String, Int32) |
Delete a section from this section object by section name and named index
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | FindSection |
Find the first section with the given name.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetInstanceNo | Obsolete.
Internal method, for testing/debugging only
|
![]() | GetInternalPfsNodePointer |
Get the underlying internal PFS node pointer.
For internal use only |
![]() | GetKeyword(Int32) |
Get the keyword at the specified position.
|
![]() | GetKeyword(String) |
Get the first keyword with the specified name.
|
![]() | GetKeyword(String, Int32) |
Get the n'th keyword instance with the specified name.
|
![]() | GetKeyword(String, Int32, Boolean) |
Get the n'th keyword instance with the specified name.
|
![]() | GetKeywordsCount |
Get the number of keywords in this section
|
![]() | GetKeywordsCount(String) |
Get the number of keywords in this section matching KeywordName
|
![]() | GetSection(Int32) |
Get the section at the specified position.
To get the first section, use section.GetSection(1); |
![]() | GetSection(String, Int32) |
Get the n'ths section instance with the specified name
To get the first section of a certain name, use section.GetSection("sectionName", 1); |
![]() | GetSection(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); |
![]() | GetSectionsCount |
Get the number of sub-sections within this section
|
![]() | GetSectionsCount(String) |
Get the number of sub-section of this section with the specified section name.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InsertNewKeyword |
Insert a new keyword with specified name into this section object
To Insert a keyword delete the first keyword with some name, use PFSKeyword keyw = section.InsertNewKeyword("keywordName", 1) |
![]() | InsertNewSection |
Insert a new section with specified name into this section object
|
![]() | ModifyName | Obsolete.
Modify the name of this section
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |