| AppExtensionsCreateSnapshotAsync Method |
Create snapshot
Namespace: Qlik.Sense.ClientAssembly: Qlik.Sense.Client (in Qlik.Sense.Client.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntaxpublic static Task<ISnapshot> CreateSnapshotAsync(
this IApp theApp,
[OptionalAttribute] string id,
[OptionalAttribute] SnapshotProperties properties
)
<ExtensionAttribute>
Public Shared Function CreateSnapshotAsync (
theApp As IApp,
<OptionalAttribute> id As String,
<OptionalAttribute> properties As SnapshotProperties
) As Task(Of ISnapshot)
Parameters
- theApp
- Type: Qlik.EngineIApp
The app object. Can be omitted when calling the method as an instance method on the IApp object. - id (Optional)
- Type: SystemString
Id of the snapshot - properties (Optional)
- Type: Qlik.Sense.Client.SnapshotSnapshotProperties
Properties for the snapshot
Return Value
Type:
TaskISnapshotA task with the created ISnapshot 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