NativeMethods.IsSamePath Method
Compares file names.
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Shared Function IsSamePath ( _
file1 As String, _
file2 As String _
) As Boolean
'Usage
Dim file1 As String
Dim file2 As String
Dim returnValue As Boolean
returnValue = NativeMethods.IsSamePath(file1, _
file2)
public static bool IsSamePath(
string file1,
string file2
)
public:
static bool IsSamePath(
String^ file1,
String^ file2
)
public static function IsSamePath(
file1 : String,
file2 : String
) : boolean
static member IsSamePath :
file1:string *
file2:string -> bool
Parameters
- file1
Type: System.String
The first file
- file2
Type: System.String
The second file
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.