FileResponseElement::Length Property

.NET Framework (current version)
 

Gets the size of the data, starting at the offset that contains the data for a FileResponseElement instance.

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

public:
property long long Length {
	long long get();
}

Property Value

Type: System::Int64

The size of the data.

If the complete output-cache response is contained in a single file, an output cache provider initializes the FileResponseElement class by using a length equal to the size of the whole file. If the complete output cache response is contained in only part of a file, a provider initializes the FileResponseElement class by using a length equal to the size of the output-cache response that is stored in that file.

.NET Framework
Available since 4.0
Return to top
Show: