# MoveNext()

> Advances the enumerator to the next element of the StylePropertyNameCollection.

## Definition

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

```csharp
public bool MoveNext()
```

### Returns

| Type                                                          | Description                                                                                                                         |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. |
