Show / Hide Table of Contents

Struct BlobBlock

Represents a single block in a block blob. It describes the block's ID and size.

Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Storage.Blobs.dll
Syntax
[System.Runtime.CompilerServices.IsReadOnly]
public struct BlobBlock : IEquatable<Azure.Storage.Blobs.Models.BlobBlock>

Properties

Name

The base64 encoded block ID.

Declaration
public string Name { get; }
Property Value
System.String

Size

This property is a backwards-compatible facade for SizeLong, which supports long values. Use SizeLong for full access of supported values.

Declaration
[System.ComponentModel.EditorBrowsable]
public int Size { get; }
Property Value
System.Int32

SizeLong

The block size in bytes.

Declaration
public long SizeLong { get; }
Property Value
System.Int64

Methods

Equals(BlobBlock)

Check if two BlobBlock instances are equal.

Declaration
[System.ComponentModel.EditorBrowsable]
public bool Equals (Azure.Storage.Blobs.Models.BlobBlock other);
Parameters
BlobBlock other

The instance to compare to.

Returns
System.Boolean

True if they're equal, false otherwise.

Equals(Object)

Check if two BlobBlock instances are equal.

Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
System.Object obj

The instance to compare to.

Returns
System.Boolean

True if they're equal, false otherwise.

GetHashCode()

Get a hash code for the BlobBlock.

Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
System.Int32

Back to top Azure SDK for .NET