TableOperation.Insert Method (ITableEntity, Boolean)

Windows Runtime Azure Storage Client Library

Creates a new table operation that inserts the given entity into a table.

Namespace: Microsoft.WindowsAzure.Storage.Table
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim entity As ITableEntity
Dim echoContent As Boolean
Dim returnValue As TableOperation

returnValue = TableOperation.Insert(entity, echoContent)

Syntax

Visual Basic
Public Shared Function Insert ( _
	entity As ITableEntity, _
	echoContent As Boolean _
) As TableOperation
C#
public static TableOperation Insert (
	ITableEntity entity,
	bool echoContent
)
C++
public:
static TableOperation^ Insert (
	ITableEntity^ entity, 
	bool echoContent
)
J#
public static TableOperation Insert (
	ITableEntity entity, 
	boolean echoContent
)
JScript
public static function Insert (
	entity : ITableEntity, 
	echoContent : boolean
) : TableOperation

Parameters

entity

The ITableEntity object to be inserted into the table.

echoContent

true if the message payload should be returned in the response to the insert operation. false otherwise.

Return Value

The TableOperation object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also