Click or drag to resize
GenericMeasure Class
This class describes all the methods that apply at measure level.
Inheritance Hierarchy

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public class GenericMeasure : QixClassBase, 
	IGenericMeasure, IQixClassBase, IDisposable

The GenericMeasure type exposes the following members.

Constructors
  NameDescription
Public methodGenericMeasure
Initializes a new instance of the GenericMeasure class
Top
Methods
  NameDescription
Public methodApplyPatches

Applies a patch to the properties of an object. Allows an update to some of the properties.

It is possible to apply a patch to the properties of a generic object, that is not persistent. Such a patch is called a soft patch. In that case, the result of the operation on the properties (add, remove or delete) is not shown when doing GetProperties and only a GetLayout call shows the result of the operation. Properties that are not persistent are called soft properties. Once the session is over, soft properties are cleared.

Applying a patch takes less time than resetting all the properties.
Public methodApplyPatchesAsync

Applies a patch to the properties of an object. Allows an update to some of the properties.

It is possible to apply a patch to the properties of a generic object, that is not persistent. Such a patch is called a soft patch. In that case, the result of the operation on the properties (add, remove or delete) is not shown when doing GetProperties and only a GetLayout call shows the result of the operation. Properties that are not persistent are called soft properties. Once the session is over, soft properties are cleared.

Applying a patch takes less time than resetting all the properties.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from QixClassBase.)
Public methodGetGenericMeasure

* Returns the definition of a measure if the target (or handle ) is a measure

* Returns the handle of a measure if the target (or handle) is an app

Public methodGetGenericMeasureAsync(AsyncHandle)

* Returns the definition of a measure if the target (or handle ) is a measure

* Returns the handle of a measure if the target (or handle) is an app

Public methodGetGenericMeasureAsyncT(FuncResponse, T, AsyncHandle)

* Returns the definition of a measure if the target (or handle ) is a measure

* Returns the handle of a measure if the target (or handle) is an app

Public methodGetInfo

Returns the type and identifier of the object.

Public methodGetInfoAsync(AsyncHandle)

Returns the type and identifier of the object.

Public methodGetInfoAsyncT(FuncResponse, T, AsyncHandle)

Returns the type and identifier of the object.

Public methodGetLayout
Public methodGetLayoutAsync(AsyncHandle)
Public methodGetLayoutAsyncT(FuncResponse, T, AsyncHandle)
Public methodGetLinkedObjects

Lists the linked objects to a generic object, a dimension or a measure.

Public methodGetLinkedObjectsAsync(AsyncHandle)

Lists the linked objects to a generic object, a dimension or a measure.

Public methodGetLinkedObjectsAsyncT(FuncResponse, T, AsyncHandle)

Lists the linked objects to a generic object, a dimension or a measure.

Public methodGetProperties

Shows the properties of an object.

Returns the identifier and the definition of the measure.

If the member delta is set to true in the request object, only the delta is retrieved.
Public methodGetPropertiesAsync(AsyncHandle)

Shows the properties of an object.

Returns the identifier and the definition of the measure.

If the member delta is set to true in the request object, only the delta is retrieved.
Public methodGetPropertiesAsyncT(FuncResponse, T, AsyncHandle)

Shows the properties of an object.

Returns the identifier and the definition of the measure.

If the member delta is set to true in the request object, only the delta is retrieved.
Public methodPublish

Publishes a measure.

Public methodPublishAsync

Publishes a measure.

Public methodResumeLayout
Public methodSetProperties

Sets some properties for a measure.

Public methodSetPropertiesAsync

Sets some properties for a measure.

Public methodSuspendLayout
Public methodUnPublish

Unpublishes a measure.

Public methodUnPublishAsync

Unpublishes a measure.

Top
Properties
  NameDescription
Public propertyHandle
The handle of the Qlik Sense entity.
(Inherited from QixClassBase.)
Public propertyId
The id of the Qlik Sense entity.
(Inherited from QixClassBase.)
Public propertyInfo
Public propertyMeasure
Public propertyMeta
Public propertyProperties
Public propertySession
The session this entity resides in.
(Inherited from QixClassBase.)
Public propertyType
The type of the Qlik Sense entity.
(Inherited from QixClassBase.)
Top
Events
  NameDescription
Public eventChanged
This event fires every time the Qlik Sense entity needs to be updated due to changes in either selectionstate, data or entity properties
(Inherited from QixClassBase.)
Public eventClosed
This event fires when the Qlik Sense entity has been removed or deleted.
(Inherited from QixClassBase.)
Top
See Also