---
title: AttributeScopes.FoundationAttributes.LinkAttribute
framework: foundation
role: symbol
role_heading: Enumeration
path: foundation/attributescopes/foundationattributes/linkattribute
---

# AttributeScopes.FoundationAttributes.LinkAttribute

A type for using a link as an attribute.

## Declaration

```swift
@frozen enum LinkAttribute
```

## Topics

### Accessing the Attribute Name and Value

- [name](foundation/attributescopes/foundationattributes/linkattribute/name.md)
- [value(for:)](foundation/attributescopes/foundationattributes/linkattribute/value(for:).md)
- [AttributeScopes.FoundationAttributes.LinkAttribute.Value](foundation/attributescopes/foundationattributes/linkattribute/value.md)
- [objectiveCValue(for:)](foundation/attributescopes/foundationattributes/linkattribute/objectivecvalue(for:).md)
- [AttributeScopes.FoundationAttributes.LinkAttribute.ObjectiveCValue](foundation/attributescopes/foundationattributes/linkattribute/objectivecvalue.md)

### Default Implementations

- [ObjectiveCConvertibleAttributedStringKey Implementations](foundation/attributescopes/foundationattributes/linkattribute/objectivecconvertibleattributedstringkey-implementations.md)

## Relationships

### Conforms To

- [AttributedStringKey](foundation/attributedstringkey.md)
- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [DecodableAttributedStringKey](foundation/decodableattributedstringkey.md)
- [EncodableAttributedStringKey](foundation/encodableattributedstringkey.md)
- [Escapable](swift/escapable.md)
- [ObjectiveCConvertibleAttributedStringKey](foundation/objectivecconvertibleattributedstringkey.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Using URL attributes

- [imageURL](foundation/attributescopes/foundationattributes/imageurl.md)
- [AttributeScopes.FoundationAttributes.ImageURLAttribute](foundation/attributescopes/foundationattributes/imageurlattribute.md)
- [link](foundation/attributescopes/foundationattributes/link.md)
