# GenericMeasure Class

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

This class describes all the methods that apply at measure level.

The `handle` member in the JSON request for all methods listed in this section is the handle of the measure.

## Inheritance

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

        [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.htm)
        #### Derived Classes
        * [Measure](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Measure.htm)

## Syntax

```
public class GenericMeasure : PropertyContainer, IGenericMeasure, IPropertyContainer, IQixClassBase, IDisposable, IChangeNotifier
```

## Constructors

| Name | Description |
| --- | --- |
| [GenericMeasure(Int32)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.-ctor.htm#Qlik_Engine_GenericMeasure__ctor_System_Int32_) |  |

## Properties

| Name | Description |
| --- | --- |
| [Layout](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.Layout.htm#Qlik_Engine_GenericMeasure_Layout) |  |
| [Properties](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.Properties.htm#Qlik_Engine_GenericMeasure_Properties) |  |

## Methods

| Name | Description |
| --- | --- |
| [ApplyPatches(IEnumerable<NxPatch>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.ApplyPatches.htm#Qlik_Engine_GenericMeasure_ApplyPatches_System_Collections_Generic_IEnumerable_Qlik_Engine_NxPatch__) | Applies a patch to the properties of an object. Allows an update to some of the properties. It should not be possible to patch "/qInfo/qId",<br><br>and it will be forbidden in the near future. |
| [ApplyPatchesAsync(AsyncHandle, IEnumerable<NxPatch>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.ApplyPatchesAsync.htm#Qlik_Engine_GenericMeasure_ApplyPatchesAsync_Qlik_Engine_AsyncHandle_System_Collections_Generic_IEnumerable_Qlik_Engine_NxPatch__) | Applies a patch to the properties of an object. Allows an update to some of the properties. It should not be possible to patch "/qInfo/qId",<br><br>and it will be forbidden in the near future. |
| [ApplyPatchesAsync(IEnumerable<NxPatch>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.ApplyPatchesAsync.htm#Qlik_Engine_GenericMeasure_ApplyPatchesAsync_System_Collections_Generic_IEnumerable_Qlik_Engine_NxPatch__) | Applies a patch to the properties of an object. Allows an update to some of the properties. It should not be possible to patch "/qInfo/qId",<br><br>and it will be forbidden in the near future. |
| [Approve()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.Approve.htm#Qlik_Engine_GenericMeasure_Approve) | Adds the generic measure to the list of approved objects |
| [ApproveAsync()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.ApproveAsync.htm#Qlik_Engine_GenericMeasure_ApproveAsync) | Adds the generic measure to the list of approved objects |
| [ApproveAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.ApproveAsync.htm#Qlik_Engine_GenericMeasure_ApproveAsync_Qlik_Engine_AsyncHandle_) | Adds the generic measure to the list of approved objects |
| [GetGenericMeasure()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetGenericMeasure.htm#Qlik_Engine_GenericMeasure_GetGenericMeasure) | Returns the definition of a measure. |
| [GetGenericMeasureAsync()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetGenericMeasureAsync.htm#Qlik_Engine_GenericMeasure_GetGenericMeasureAsync) | Returns the definition of a measure. |
| [GetGenericMeasureAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetGenericMeasureAsync.htm#Qlik_Engine_GenericMeasure_GetGenericMeasureAsync_Qlik_Engine_AsyncHandle_) | Returns the definition of a measure. |
| [GetGenericMeasureAsync<T>(AsyncHandle, Func<Response, T>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetGenericMeasureAsync.htm#Qlik_Engine_GenericMeasure_GetGenericMeasureAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__) | Returns the definition of a measure. |
| [GetInfo()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetInfo.htm#Qlik_Engine_GenericMeasure_GetInfo) | Returns the type and identifier of the object. |
| [GetInfoAsync()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetInfoAsync.htm#Qlik_Engine_GenericMeasure_GetInfoAsync) | Returns the type and identifier of the object. |
| [GetInfoAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetInfoAsync.htm#Qlik_Engine_GenericMeasure_GetInfoAsync_Qlik_Engine_AsyncHandle_) | Returns the type and identifier of the object. |
| [GetInfoAsync<T>(AsyncHandle, Func<Response, T>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetInfoAsync.htm#Qlik_Engine_GenericMeasure_GetInfoAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__) | Returns the type and identifier of the object. |
| [GetLayout()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetLayout.htm#Qlik_Engine_GenericMeasure_GetLayout) | Evaluates a measure and displays its properties, including the dynamic properties. |
| [GetLayoutAsync()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetLayoutAsync.htm#Qlik_Engine_GenericMeasure_GetLayoutAsync) | Evaluates a measure and displays its properties, including the dynamic properties. |
| [GetLayoutAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetLayoutAsync.htm#Qlik_Engine_GenericMeasure_GetLayoutAsync_Qlik_Engine_AsyncHandle_) | Evaluates a measure and displays its properties, including the dynamic properties. |
| [GetLinkedObjects()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetLinkedObjects.htm#Qlik_Engine_GenericMeasure_GetLinkedObjects) | Lists the linked objects to a generic object, a dimension or a measure. |
| [GetLinkedObjectsAsync()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetLinkedObjectsAsync.htm#Qlik_Engine_GenericMeasure_GetLinkedObjectsAsync) | Lists the linked objects to a generic object, a dimension or a measure. |
| [GetLinkedObjectsAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetLinkedObjectsAsync.htm#Qlik_Engine_GenericMeasure_GetLinkedObjectsAsync_Qlik_Engine_AsyncHandle_) | Lists the linked objects to a generic object, a dimension or a measure. |
| [GetLinkedObjectsAsync<T>(AsyncHandle, Func<Response, T>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetLinkedObjectsAsync.htm#Qlik_Engine_GenericMeasure_GetLinkedObjectsAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__) | Lists the linked objects to a generic object, a dimension or a measure. |
| [GetProperties()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetProperties.htm#Qlik_Engine_GenericMeasure_GetProperties) | Shows the properties of an object.<br><br>Returns the identifier and the definition of the measure.<br><br>The following is always returned in the output: |
| [GetPropertiesAsync()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetPropertiesAsync.htm#Qlik_Engine_GenericMeasure_GetPropertiesAsync) | Shows the properties of an object.<br><br>Returns the identifier and the definition of the measure.<br><br>The following is always returned in the output: |
| [GetPropertiesAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.GetPropertiesAsync.htm#Qlik_Engine_GenericMeasure_GetPropertiesAsync_Qlik_Engine_AsyncHandle_) | Shows the properties of an object.<br><br>Returns the identifier and the definition of the measure.<br><br>The following is always returned in the output: |
| [OnGetGenericMeasureAsync(Response)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.OnGetGenericMeasureAsync.htm#Qlik_Engine_GenericMeasure_OnGetGenericMeasureAsync_Qlik_Engine_Communication_IO_Response_) |  |
| [OnGetInfoAsync(Response)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.OnGetInfoAsync.htm#Qlik_Engine_GenericMeasure_OnGetInfoAsync_Qlik_Engine_Communication_IO_Response_) |  |
| [OnGetLayoutAsync(Response)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.OnGetLayoutAsync.htm#Qlik_Engine_GenericMeasure_OnGetLayoutAsync_Qlik_Engine_Communication_IO_Response_) |  |
| [OnGetLinkedObjectsAsync(Response)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.OnGetLinkedObjectsAsync.htm#Qlik_Engine_GenericMeasure_OnGetLinkedObjectsAsync_Qlik_Engine_Communication_IO_Response_) |  |
| [OnGetPropertiesAsync(Response)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.OnGetPropertiesAsync.htm#Qlik_Engine_GenericMeasure_OnGetPropertiesAsync_Qlik_Engine_Communication_IO_Response_) |  |
| [Publish()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.Publish.htm#Qlik_Engine_GenericMeasure_Publish) | Publishes a measure. |
| [PublishAsync()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.PublishAsync.htm#Qlik_Engine_GenericMeasure_PublishAsync) | Publishes a measure. |
| [PublishAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.PublishAsync.htm#Qlik_Engine_GenericMeasure_PublishAsync_Qlik_Engine_AsyncHandle_) | Publishes a measure. |
| [SetProperties(GenericMeasureProperties)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.SetProperties.htm#Qlik_Engine_GenericMeasure_SetProperties_Qlik_Engine_GenericMeasureProperties_) | Sets some properties for a measure. |
| [SetPropertiesAsync(AsyncHandle, GenericMeasureProperties)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.SetPropertiesAsync.htm#Qlik_Engine_GenericMeasure_SetPropertiesAsync_Qlik_Engine_AsyncHandle_Qlik_Engine_GenericMeasureProperties_) | Sets some properties for a measure. |
| [SetPropertiesAsync(GenericMeasureProperties)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.SetPropertiesAsync.htm#Qlik_Engine_GenericMeasure_SetPropertiesAsync_Qlik_Engine_GenericMeasureProperties_) | Sets some properties for a measure. |
| [UnApprove()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.UnApprove.htm#Qlik_Engine_GenericMeasure_UnApprove) | Removes the generic measure from the list of approved objects |
| [UnApproveAsync()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.UnApproveAsync.htm#Qlik_Engine_GenericMeasure_UnApproveAsync) | Removes the generic measure from the list of approved objects |
| [UnApproveAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.UnApproveAsync.htm#Qlik_Engine_GenericMeasure_UnApproveAsync_Qlik_Engine_AsyncHandle_) | Removes the generic measure from the list of approved objects |
| [UnPublish()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.UnPublish.htm#Qlik_Engine_GenericMeasure_UnPublish) | Unpublishes a measure. |
| [UnPublishAsync()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.UnPublishAsync.htm#Qlik_Engine_GenericMeasure_UnPublishAsync) | Unpublishes a measure. |
| [UnPublishAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.UnPublishAsync.htm#Qlik_Engine_GenericMeasure_UnPublishAsync_Qlik_Engine_AsyncHandle_) | Unpublishes a measure. |