Selerix Developer Tools
FileCompare Method






Selerix.Foundation Assembly > Selerix.Foundation.Data Namespace > Utils Class : FileCompare Method
Compares two files by matching content and returns true if they are identical; otherwise returns false.
Syntax
'Declaration
 
Public Shared Function FileCompare( _
   ByVal file1 As String, _
   ByVal file2 As String _
) As Boolean
'Usage
 
Dim file1 As String
Dim file2 As String
Dim value As Boolean
 
value = Utils.FileCompare(file1, file2)
public static bool FileCompare( 
   string file1,
   string file2
)
public function FileCompare( 
    file1: String;
    file2: String
): Boolean; static; 
public static function FileCompare( 
   file1 : String,
   file2 : String
) : boolean;
public: static bool FileCompare( 
   string* file1,
   string* file2
) 
public:
static bool FileCompare( 
   String^ file1,
   String^ file2
) 

Parameters

file1
file2
See Also

Reference

Utils Class
Utils Members