ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / FeatureSceneLayer Class / GetFieldDescriptions Method
Example

In This Topic
    GetFieldDescriptions Method (FeatureSceneLayer)
    In This Topic
    Returns a list of field descriptions. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Function GetFieldDescriptions() As List(Of FieldDescription)
    public List<FieldDescription> GetFieldDescriptions()

    Return Value

    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Example
    Get Field Definitions
    {
      // Note: call within QueuedTask.Run()
      {
        //Get only the readonly fields
        var readOnlyFields = featSceneLayer.GetFieldDescriptions()
                                  .Where(fdesc => fdesc.IsReadOnly);
      }
    }
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also