MemoryResponseElement.Buffer Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets an array that contains all or part of an output-cache response.

Namespace:   System.Web.Caching
Assembly:  System.Web (in System.Web.dll)

public byte[] Buffer { get; }

Property Value

Type: System.Byte[]

An array of byte objects.

The value of Buffer property must not be null, although it can be a zero-length array. If Bufferproperty is null, the MemoryResponseElement constructor throws an ArgumentNullException. If the Length property is less than zero or greater than the size of the value of Bufferproperty.

.NET Framework
Available since 4.0
Return to top