VolumeIsSameVolume Method |
Determines whether the volume of two file system objects is the same.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static bool IsSameVolume(
string path1,
string path2
)
Public Shared Function IsSameVolume (
path1 As String,
path2 As String
) As Boolean
public:
static bool IsSameVolume(
String^ path1,
String^ path2
)
static member IsSameVolume :
path1 : string *
path2 : string -> bool
Parameters
- path1
- Type: SystemString
The first filesystem ojbect with full path information. - path2
- Type: SystemString
The second file system object with full path information.
Return Value
Type:
Boolean if both filesytem objects reside on the same volume,
otherwise.
See Also