ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ParcelLayerCreationParams Class
Members Example

In This Topic
    ParcelLayerCreationParams Class
    In This Topic
    Represents an object to initialize and create a parcel layer with pre-defined properties.
    Object Model
    ParcelLayerCreationParams ClassLayer ClassLayer ClassLayer ClassLayer ClassCIMDataConnection ClassItem ClassCIMLayerDocument ClassParcelFabric Class
    Syntax
    public class ParcelLayerCreationParams : LayerCreationParams 
    Public Class ParcelLayerCreationParams 
       Inherits LayerCreationParams
    Example
    Add a Parcel Layer to the map
    string path = @"C:\MyTestData\MyFileGeodatabase.gdb\MyFeatureDS\MyFabric";
    await QueuedTask.Run(() =>
    {
      var lyrCreateParams = new ParcelLayerCreationParams(new Uri(path));
      try
      {
        var parcelLayer = LayerFactory.Instance.CreateLayer<ParcelLayer>(
          lyrCreateParams, MapView.Active.Map);
      }
      catch (Exception ex)
      {
        MessageBox.Show(ex.Message, "Add Parcel Fabric Layer");
      }
    });
    Inheritance Hierarchy

    System.Object
       ArcGIS.Desktop.Mapping.MapMemberCreationParams
          ArcGIS.Desktop.Mapping.LayerCreationParams
             ArcGIS.Desktop.Mapping.ParcelLayerCreationParams

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also