PutBlockListItem Constructor

Storage Client Library NET API

[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See Storage Client Library for the latest version.]

Initializes a new instance of the PutBlockListItem class.

Namespace: Microsoft.WindowsAzure.StorageClient.Protocol
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)

Usage

Visual Basic
Dim id As String
Dim searchMode As BlockSearchMode

Dim instance As New PutBlockListItem(id, searchMode)

Syntax

Visual Basic
Public Sub New ( _
	id As String, _
	searchMode As BlockSearchMode _
)
C#
public PutBlockListItem (
	string id,
	BlockSearchMode searchMode
)
C++
public:
PutBlockListItem (
	String^ id, 
	BlockSearchMode searchMode
)
J#
JScript

Parameters

id

Type: System.String

The block ID.

searchMode

Type: Microsoft.WindowsAzure.StorageClient.Protocol.BlockSearchMode

One of the enumeration values that specifies in which block lists to search for the block.

Remarks

For more details about this API, see the topics on the equivalent REST APIs in See Also > Other Resources.


Platforms

Development Platforms

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

See Also