ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Layer Class / GetCanEditMetadata Method

In This Topic
    GetCanEditMetadata Method (Layer)
    In This Topic
    Gets whether the Layer metadata can be edited or not. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public override bool GetCanEditMetadata()
    Public Overrides Function GetCanEditMetadata() As Boolean

    Return Value

    True if the metadata is editable
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    Layer metadata is typically editable unless the Layer is using an underlying data source for metadata or the .aprx is not editable. Sub layer types do not support metadata. They typically have a single source, specified on the parent layer, that controls the metadata.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also