ArcGIS Pro 2.9 API Reference Guide
GetCanEditMetadata Method (Layout)

ArcGIS.Desktop.Layouts Namespace > Layout Class : GetCanEditMetadata Method
Gets whether the Layout metadata can be edited or not. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public bool GetCanEditMetadata()
Public 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
Layout metadata is typically editable unless the .aprx is not editable
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

Layout Class
Layout Members