Creates a new Section of the specified type and name and inserts it into the
SectionCollection at the specified index.
'Declaration
Public Overloads Function Insert( _
ByVal As System.Integer, _
ByVal As SectionType, _
ByVal As System.String _
) As Section
public Section Insert(
System.int ,
SectionType ,
System.string
)
Parameters
- index
- The zero-based index where the new section should be inserted.
- type
- SectionType of the section to insert.
- name
- Unique name of the new section.
Return Value
A section that was created and added into the collection.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2