---
title: "CGImageMetadataTagCopyQualifiers(_:)"
framework: imageio
role: symbol
role_heading: Function
path: "imageio/cgimagemetadatatagcopyqualifiers(_:)"
---

# CGImageMetadataTagCopyQualifiers(_:)

Returns a shallow copy of the metadata tags that act as qualifiers for the current tag.

## Declaration

```swift
func CGImageMetadataTagCopyQualifiers(_ tag: CGImageMetadataTag) -> CFArray?
```

## Parameters

- `tag`: The metadata tag from which to fetch the namespace information.

## Return Value

Return Value An array of CGImageMetadataTag types that represent the current tag’s qualifiers, or NULL if the tag has no qualifiers.

## Discussion

Discussion XMP allows a metadata tag to contain supplemental tags that act as qualifiers on the content. For example, the xml:lang qualifier provides alternate text entries for the current tag. Each qualifier is a CGImageMetadataTag with its own namespace, prefix, name, and value.

## See Also

### Getting the Attributes of the Tag

- [CGImageMetadataTagCopyNamespace(_:)](imageio/cgimagemetadatatagcopynamespace(_:).md)
- [CGImageMetadataTagCopyPrefix(_:)](imageio/cgimagemetadatatagcopyprefix(_:).md)
- [CGImageMetadataTagCopyName(_:)](imageio/cgimagemetadatatagcopyname(_:).md)
- [CGImageMetadataTagCopyValue(_:)](imageio/cgimagemetadatatagcopyvalue(_:).md)
