PackageUtilities.CopyUrlToLocal Method
Copies the specified file to the local project directory.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaración
Public Shared Sub CopyUrlToLocal ( _
uri As Uri, _
local As String _
)
public static void CopyUrlToLocal(
Uri uri,
string local
)
Parameters
- uri
Type: System.Uri
The Uri to copy.
- local
Type: System.String
The local resource to copy it to.
Remarks
This method supports the downloading of HTTP resources, which may cause a delay before returning.
.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.