## ViewCollection.GetByViewScreen method

Searches for a View with the specified Screen property, and returns the first occurrence within the collection.

```csharp
public View GetByViewScreen(ViewScreen screen)
```

| Parameter | Type | Description |
| --- | --- | --- |
| screen | ViewScreen | [`ViewScreen`](../../viewscreen/) enumeration value. |

### Return Value

The first View in collection which Screen property matches the specified screen argument, if found; otherwise, null.

### See Also

* class [View](../../view/)
* enum [ViewScreen](../../viewscreen/)
* class [ViewCollection](../)
* namespace [Aspose.Tasks](../../viewcollection/)
* assembly [Aspose.Tasks](../../../)


