# CurrentSelection Class

Namespace: [Qlik.Sense.Client](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.htm)  
Assembly: Qlik.Sense.Client.dll

## Inheritance

* System.Object
  * [QixClassBase](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.QixClassBase.htm)
    * [PropertyContainer](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.PropertyContainer.htm)
      * [GenericObject](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.htm)
        * CurrentSelection

## Syntax

```
public class CurrentSelection : GenericObject, ITransient, ICurrentSelection, IEnumerable<NxCurrentSelectionItem>, IEnumerable, IGenericObject, IPropertyContainer, IQixClassBase, IDisposable, IChangeNotifier
```

### Constructors

| Name | Description |
| --- | --- |
| CurrentSelection(Int32) |  |

### Properties

| Name | Description |
| --- | --- |
| Layout |  |
| Properties |  |

### Methods

| Name | Description |
| --- | --- |
| Dispose(Boolean) |  |
| GetEnumerator() | Gets an enumerator that iterates through the collection. |
| GetLayoutAsync() |  |
| GetPropertiesAsync() |  |
| OnGetLayoutAsync(Response) |  |
| OnGetMasterObjectAsync(Response) |  |
| OnGetPropertiesAsync(Response) |  |

### Explicit Interface Implementations

| Name | Description |
| --- | --- |
| IEnumerable.GetEnumerator() | Returns an enumerator that iterates through a collection. |

### Extension Methods

[UrlExtensions.SingleUrl(VisualizationOptions, CallbackOptions)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Extensions.UrlExtensions.SingleUrl.htm#Qlik_Engine_Extensions_UrlExtensions_SingleUrl_Qlik_Engine_IGenericObject_Qlik_Engine_Extensions_VisualizationOptions_Qlik_Engine_Extensions_CallbackOptions_)