Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
FreeSpace Property
See Also 
Leadtools.Twain Namespace > TwainFileSystem Class : FreeSpace Property




Gets or sets an integer that specifies how many bytes of free space are left on the current device.

Syntax

Visual Basic (Declaration) 
Public Property FreeSpace As Integer
Visual Basic (Usage)Copy Code
Dim instance As TwainFileSystem
Dim value As Integer
 
instance.FreeSpace = value
 
value = instance.FreeSpace
C# 
public int FreeSpace {get; set;}
Managed Extensions for C++ 
public: __property int get_FreeSpace();
public: __property void set_FreeSpace( 
   int value
);
C++/CLI 
public:
property int FreeSpace {
   int get();
   void set (int value);
}

Return Value

An integer that specifies how many bytes of free space are left on the current device.

Example

Refer to QueryFileSystem example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also