ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Layer Class / GetMetadata Method

In This Topic
    GetMetadata Method (Layer)
    In This Topic
    Gets the Layer metadata. This method must be called on the MCT. Use QueuedTask.Run.
    public override string GetMetadata()
    Public Overrides Function GetMetadata() As String

    Return Value

    The xml formatted metadata
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Sub layer types do not support metadata. They typically have a single source, specified on the parent layer, that controls the metadata.

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also