# Create(IUxmlAttributes, CreationContext)

> Returns null.

## Definition

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

> **Warning:**
>
> **Deprecated.** UxmlRootElementFactory is deprecated and will be removed. Use UxmlElementAttribute instead.

```csharp
public override VisualElement Create(IUxmlAttributes bag, CreationContext cc)
```

### Parameters

**** (\[IUxmlAttributes]\(/engine/6000.3/script-reference/unityengine/uielements/iuxmlattributes)): **** (\[CreationContext]\(/engine/6000.3/script-reference/unityengine/uielements/creationcontext)):&#x20;

### Returns

| Type                                                                                     | Description |
| ---------------------------------------------------------------------------------------- | ----------- |
| [VisualElement](/engine/6000.3/script-reference/unityengine/uielements/visualelement.md) |             |
