SectionProperties.Rename Method
Renames the specified section with the specified name.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Sub Rename ( _
sectionIndex As Integer, _
sectionName As String _
)
'Usage
Dim instance As SectionProperties
Dim sectionIndex As Integer
Dim sectionName As String
instance.Rename(sectionIndex, sectionName)
void Rename(
int sectionIndex,
string sectionName
)
Parameters
- sectionIndex
Type: System.Int32
The index of the section to rename.
- sectionName
Type: System.String
The new name of the section.
Remarks
If sectionName is empty, the section is assigned the default section name.