ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Desktop.Mapping.Voxel Namespace / SectionDefinition Class / ID Property
Example

In This Topic
    ID Property (SectionDefinition)
    In This Topic
    Gets the section ID.
    Syntax
    public string ID {get;}
    Public ReadOnly Property ID As String
    Remarks
    A unique ID will be assigned when the section is created
    Example
    Get a Section
    {
      //Use the SelectedVariableProfile to get the sections currently in the TOC
      //via its associated volume
      var volume = voxelLayer.SelectedVariableProfile.Volume;
    
      var section = volume.GetSections().FirstOrDefault();
      var section2 = volume.GetSections().First(sec => sec.ID == my_section_id);
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also