Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IFileInfo.Length Property

Definition

Namespace:
Microsoft.Extensions.FileProviders
Assembly:
Microsoft.Extensions.FileProviders.Abstractions.dll
Package:
Microsoft.Extensions.FileProviders.Abstractions v11.0.0-preview.5.26302.115
Source:
IFileInfo.cs
Source:
IFileInfo.cs
Source:
IFileInfo.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the length of the file in bytes, or -1 for a directory or nonexistent file.

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

Property Value

Applies to


Feedback

Was this page helpful?