ArcGIS Pro 2.7 API Reference Guide
DeleteSection(SectionDefinition) Method

ArcGIS.Desktop.Mapping Namespace > VoxelLayer Class > DeleteSection Method : DeleteSection(SectionDefinition) Method
The definition of the section to delete.
Delete the specified section. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void DeleteSection( 
   SectionDefinition sectionDef
)
Public Overloads Sub DeleteSection( _
   ByVal sectionDef As SectionDefinition _
) 

Parameters

sectionDef
The definition of the section to delete.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run
Invalid section definition specified
Section is null
Section not found in the collection of sections
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

VoxelLayer Class
VoxelLayer Members
Overload List