Click or drag to resize
AppExtensionsCreateAndLinkMasterObjectAsync Method
Create and link master object, this method will create a master object and will convert the source object to linked object (linked to the created master object).

Namespace: Qlik.Sense.Client
Assembly: Qlik.Sense.Client (in Qlik.Sense.Client.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax
public static Task<IMasterObject> CreateAndLinkMasterObjectAsync(
	this IApp theApp,
	string sourceId,
	[OptionalAttribute] string id,
	[OptionalAttribute] MasterObjectProperties properties
)

Parameters

theApp
Type: Qlik.EngineIApp
The app object. Can be omitted when calling the method as an instance method on the IApp object.
sourceId
Type: SystemString
Id of the source object
id (Optional)
Type: SystemString
Id of the master object
properties (Optional)
Type: Qlik.Sense.ClientMasterObjectProperties
Properties for the master object

Return Value

Type: TaskIMasterObject
A task with a master object

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IApp. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also