ArcGIS Pro 2.8 API Reference Guide
UnlockSection Method

ArcGIS.Desktop.Mapping Namespace > VoxelLayer Class : UnlockSection Method
The definition of the section to unlock
Unlocks the specified section. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void UnlockSection( 
   LockedSectionDefinition lockedSectionDef
)
Public Sub UnlockSection( _
   ByVal lockedSectionDef As LockedSectionDefinition _
) 

Parameters

lockedSectionDef
The definition of the section to unlock
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run
Locked section is null
Locked section not found in the collection of sections
Section cannot be unlocked
Remarks
When a section is unlocked it is added back to the collection of (dynamic) sections.
If a locked section cannot be unlocked then a System.ArgumentException is thrown. Refer to CanUnlockSection.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

VoxelLayer Class
VoxelLayer Members