Edit

Share via


FileResponseElement.Length Property

Definition

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

public:
 property long Length { long get(); };
public long Length { get; }
member this.Length : int64
Public ReadOnly Property Length As Long

Property Value

The size of the data.

Remarks

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.

Applies to