PFSExtensionsFindSection Method |
Note: This API is now 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.
Namespace: DHI.PFSAssembly: DHI.PFS (in DHI.PFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax [ObsoleteAttribute("Will be removed in future versions")]
public static PFSSection FindSection(
this PFSFile pfsFile,
string sectionName
)
<ExtensionAttribute>
<ObsoleteAttribute("Will be removed in future versions")>
Public Shared Function FindSection (
pfsFile As PFSFile,
sectionName As String
) As PFSSection
public:
[ExtensionAttribute]
[ObsoleteAttribute(L"Will be removed in future versions")]
static PFSSection^ FindSection(
PFSFile^ pfsFile,
String^ sectionName
)
[<ExtensionAttribute>]
[<ObsoleteAttribute("Will be removed in future versions")>]
static member FindSection :
pfsFile : PFSFile *
sectionName : string -> PFSSection
Parameters
- pfsFile
- Type: DHI.PFSPFSFile
PFS file object - sectionName
- Type: SystemString
Name of section to search for
Return Value
Type:
PFSSectionSection, null if not found.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
PFSFile. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also