TableBatchOperation.IndexOf Method

Windows Runtime Azure Storage Client Library

Returns the zero-based index of the first occurrence of the specified TableOperation item, or -1 if the TableBatchOperation does not contain the item.

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

Usage

Visual Basic
Dim instance As TableBatchOperation
Dim item As TableOperation
Dim returnValue As Integer

returnValue = instance.IndexOf(item)

Syntax

Visual Basic
Public Function IndexOf ( _
	item As TableOperation _
) As Integer
C#
public int IndexOf (
	TableOperation item
)
C++
public:
virtual int IndexOf (
	TableOperation^ item
) sealed
J#
public final int IndexOf (
	TableOperation item
)
JScript
public final function IndexOf (
	item : TableOperation
) : int

Parameters

item

The TableOperation item to search for.

Return Value

The zero-based index of the first occurrence of item within the TableBatchOperation, if found; otherwise, –1.

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