ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / BasicFeatureLayer Class
Fields Properties Methods Events


In This Topic
    BasicFeatureLayer Class Members
    In This Topic

    The following tables list the members exposed by BasicFeatureLayer.

    Protected Fields
     NameDescription
    Protected Field  
    Top
    Public Properties
     NameDescription
    Public Property Gets the active definition query.  
    Public Property (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets the blending mode of a layer. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets a value indicating the MapMember's connection status. (Inherited from ArcGIS.Desktop.Mapping.MapMember)
    Public Property Gets a list of all DefinitionQueries.  
    Public Property Gets the where clause of the active definition query.  
    Public Property Gets the depth priority of a layer. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets the layer's display cache type. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets the per feature blend mode of a basic feature layer.  
    Public Property Gets the layer's feature cache type.  
    Public Property Gets whether the layer has any joins (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets whether the layer has any relates (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets whether a layer is editable.  
    Public Property Gets whether the layer is expanded or collapsed on the TOC. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets whether a basic feature layer is selectable.  
    Public Property Gets whether a basic feature layer is set to automatically select related data.  
    Public Property Gets the layer's visibility state (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets a read only collection of legend groups. Check the LegendStatus property before accessing this collection. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets the status of the layer's legend. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Get the map which the MapMember belongs to. (Inherited from ArcGIS.Desktop.Mapping.MapMember)
    Public Property Gets map layer type. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets the duration of display cache for the layer. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets the maximum distance (in meter) at which the layer is visible in a 3D scene or globe view. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets the layer's maximum scale (representative fraction) at which the layer is visible in a 2D map view. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets the minimum distance (in meter) at which the layer is visible in a 3D scene or globe view. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets the layer's minimum scale (representative fraction) at which the layer is visible in a 2D map view. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets the display name of the MapMember. (Inherited from ArcGIS.Desktop.Mapping.MapMember)
    Public Property Gets the parent of the layer. It is either the group layer it belongs to, or the map for layers that do not belong in any group layers. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets the scene layer type (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets the number of features selected in the layer.  
    Public Property Gets the geometry type of the layer.  
    Public Property Gets a value indicating whether the MapMember is configured to show pop-ups when a feature is clicked. (Inherited from ArcGIS.Desktop.Mapping.MapMember)
    Public Property Gets whether the MapMember supports metadata (Inherited from ArcGIS.Desktop.Mapping.MapMember)
    Public Property Gets the transparency value set to the layer. 100 being fully transparent and 0 means opaque. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Property Gets the unique path of this MapMember. (Inherited from ArcGIS.Desktop.Mapping.MapMember)
    Top
    Public Methods
     NameDescription
    Public MethodReturns true if the data can be edited.  
    Public Method Check if the layer's data source can be replace with this dataset. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Check if blending mode can be set on this layer. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Check if the per feature blending mode can be set on this layer.  
    Public Method Clears the layer display cache from the local storage. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Clears the current selection. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Performs a find and replace of workspace path for the layer. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Gets whether the Layer metadata can be edited or not. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Gets a CIMDataConnection value object. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.MapMember)
    Public Method Returns the layer's CIM definition. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Gets the display expressions of the given set of objects. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Get the outline geometry for the corresponding feature identified by the object id. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Returns computed effective maximum scale considering all its parent group layers. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Returns computed effective minimum scale considering all its parent group layers. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Returns fields of the layer including joined fields, if any. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Gets the Layer metadata. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Gets the URI path of the MapMember. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.MapMember)
    Public Method Gets the current selection of the basic feature layer. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Returns the layer spatial reference. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Returns the underlying feature class as Table type. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Gets whether or not the MapMember stores its own metadata or uses metadata retrieved from its source. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.MapMember)
    Public MethodInsert a list of DefinitionQuery. This method must be called on the MCT. Use QueuedTask.Run.  
    Public MethodInserts a DefinitionQuery. If makeActive is true, makes it the active definition query. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Loads the layer's legend. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Returns extent of the layer optionally taking symbol size in account. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Removes the active definition query. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Remove all definition queries. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Removes the definition queries specified by the list of names. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Removes the definition query at the specified index. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Replace the layer's data source. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public MethodExecutes a spatial or attribute query to the underlying data source and returns features matching the search criteria. For stream layer, you should call ArcGIS.Core.Data.Realtime.RealtimeFeatureClass.StopStreaming for predictable result. This method must be called on the MCT. Use QueuedTask.Run.  
    Public MethodSelects features based upon the specified attribute and/or spatial criteria and combination method. For stream layer, you should call ArcGIS.Core.Data.Realtime.RealtimeFeatureClass.StopStreaming for predictable result. This method must be called on the MCT. Use QueuedTask.Run.  
    Public MethodSets the definition query matching the specified queryName to be the active definition query. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Sets the layer's blending mode. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Sets the layer's caching options. If the layer's feature class supports feature caching, then both the display cache and feature cache are set otherwise just the display cache is set. This method must be called on the MCT. Use QueuedTask.Run (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Updates a MapMember's data source. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.MapMember)
    Public Method Updates the layer's CIM definition. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Sets the where clause of the active definition query. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Sets the duration after which the layer's display cache will be refreshed in the local storage. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Enables or disables editing on a basic feature layer. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Sets whether the layer appears expanded i.e. showing legends on the TOC. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Sets the per feature blending mode. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Applies updates to the editable properties of fields. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Sets the maximum distance (in meter) at which the layer is visible in a 3D scene or globe view. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Sets the layer's maximum scale (representative fraction) at which the layer is visible in a 2D map view. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Sets the Layer metadata. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Sets the minimum distance (in meter) at which the layer is visible in a 3D scene or globe view. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Sets the layer's minimum scale (representative fraction) at which the layer is visible in a 2D map view. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Sets the display name for the MapMember. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.MapMember)
    Public Method Toggles the selectability of a basic feature layer. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Sets the current selection of the basic feature layer. This method must be called on the MCT. Use QueuedTask.Run.  
    Public MethodToggles the IsSelectRelatedData of a BasicFeatureLayer. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Toggles enabling pop-ups for the layer. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.MapMember)
    Public Method Sets the transparency of the layer. 100 being fully transparent and 0 means opaque. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Sets whether or not the Layer will use its own metadata or the metadata from its underlying source (if it has one). This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Sets the layer visibility. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Public Method Returns the display name of the MapMember. (Inherited from ArcGIS.Desktop.Mapping.MapMember)
    Top
    Protected Methods
     NameDescription
    Protected MethodOverloaded.  (Inherited from ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase)
    Protected Internal MethodOverloaded.  (Inherited from ArcGIS.Desktop.Mapping.Layer)
    Top
    Extension Methods
     NameDescription
    Public Extension Method Gets whether templates have been loaded for the specified map member.
    Public Extension Method Generate feature templates for a layer or standalone-table. This method must be called on the MCT. Use QueuedTask.Run.
    Public Extension MethodCreates a new group template object using the specified definition. Adds the base template specified to the group template as the base part. This method must be called on the MCT. Use QueuedTask.Run. Use this method in conjunction with calls to AddComponentTemplate for each component part. Once the group template is fully defined, use CreateTemplate(MapMember,CIMEditingTemplate) to add the template to the template manager.
    Public Extension Method Creates a new preset template from the specified set of features.
    Public Extension MethodOverloaded. 
    Public Extension Method Gets a template by name for a map member. This method must be called on the MCT. Use QueuedTask.Run.
    Public Extension Method Gets all templates for a map member. This method must be called on the MCT. Use QueuedTask.Run.
    Public Extension Method Gets all templates for a map member, including templates for any children. This method must be called on the MCT. Use QueuedTask.Run.
    Public Extension MethodLoads a row into a new inspector instance. This method must be called on the MCT. Use QueuedTask.Run.
    Public Extension Method Gets whether the layer is controlled by a parcel fabric of the specified type.
    Public Extension MethodOverloaded. 
    Public Extension MethodOverloaded. 
    Public Extension MethodOverloaded. 
    Top
    Public Events
     NameDescription
    Public Event Occurs when a property value changes. (Inherited from ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase)
    Top
    See Also