---
title: GetElementName
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideoobject/getelementname
---

# GetElementName

Gets the name for the given element and scope of the video object.

## Declaration

```occ
OSSharedPtr<OSString> GetElementName(IOUserVideoObjectPropertyElement in_element, IOUserVideoObjectPropertyScope in_scope);
```

## Parameters

- `in_element`: The element.
- `in_scope`: The scope.

## Return Value

Return Value The element name.

## Discussion

Discussion The object’s work queue synchronizes access to the value.

## See Also

### Working with elements

- [GetElementCategoryName](videodriverkit/iouservideoobject/getelementcategoryname.md)
- [SetElementCategoryName](videodriverkit/iouservideoobject/setelementcategoryname.md)
- [SetElementName](videodriverkit/iouservideoobject/setelementname.md)
- [GetElementNumberName](videodriverkit/iouservideoobject/getelementnumbername.md)
- [SetElementNumberName](videodriverkit/iouservideoobject/setelementnumbername.md)
