IMobileServiceTable.InsertAsync Method (JsonObject)

Inserts a new object into a table.

Not supported in Windows Phone 8 apps.

Namespace:  Microsoft.WindowsAzure.MobileServices
Assembly:  Microsoft.WindowsAzure.MobileServices.Managed (in Microsoft.WindowsAzure.MobileServices.Managed.dll)

'Declaration
Function InsertAsync ( _
	instance As JsonObject _
) As Task(Of IJsonValue)
'Usage
Dim instance As IMobileServiceTable 
Dim instance As JsonObject 
Dim returnValue As Task(Of IJsonValue)

returnValue = instance.InsertAsync(instance)

Parameters

instance
Type: JsonObject
The instance to insert into the table.

Return Value

Type: System.Threading.Tasks.Task(Of IJsonValue)
A task that will complete when the insert finishes.

Community Additions

Show: