# GetGenericData(string)

> Gets data associated with the current drag-and-drop operation.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public abstract object GetGenericData(string key)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The key for this entry.

### Returns

| Type                                                           | Description                     |
| -------------------------------------------------------------- | ------------------------------- |
| [Object](https://learn.microsoft.com/dotnet/api/system.object) | The object stored for this key. |
