PathUtil::ArePathsEqual Method (String^, String^)

Visual Studio 2015
 

Determines whether two paths are equal. This method does not treat Path.DirectorySeparatorChar and Path.AltDirectorySeparatorChar as equivalent.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

public:
static bool ArePathsEqual(
	String^ path1,
	String^ path2
)

Parameters

path1
Type: System::String^

First path to compare

path2
Type: System::String^

Second path to compare

Return Value

Type: System::Boolean

True if two paths are equal, false if they are not.

Return to top
Show: