ArcGIS Pro 2.9 API Reference Guide
GetUseSourceMetadata Method (MapMember)

ArcGIS.Desktop.Mapping Namespace > MapMember Class : GetUseSourceMetadata 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
Syntax
public virtual bool GetUseSourceMetadata()
Public Overridable Function GetUseSourceMetadata() As Boolean

Return Value

True if the MapMember is using source metadata. False if it is using its own metadata
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
Group layer ignores GetUseSourceMetadata. 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, Windows 8.1

See Also

Reference

MapMember Class
MapMember Members