NativeMethods.GetLocalPath Method
Converts a file URL to a local path.
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Shared Function GetLocalPath ( _
fileName As String _
) As String
'Usage
Dim fileName As String
Dim returnValue As String
returnValue = NativeMethods.GetLocalPath(fileName)
public static string GetLocalPath(
string fileName
)
public:
static String^ GetLocalPath(
String^ fileName
)
public static function GetLocalPath(
fileName : String
) : String
static member GetLocalPath :
fileName:string -> string
Parameters
- fileName
Type: System.String
The file URL
Return Value
Type: System.String
.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.