Partager via


PackageUtilities.CopyUrlToLocal Method

Copies the specified file to the local project directory.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Sub CopyUrlToLocal ( _
    uri As Uri, _
    local As String _
)
public static void CopyUrlToLocal(
    Uri uri,
    string local
)
public:
static void CopyUrlToLocal(
    Uri^ uri, 
    String^ local
)
static member CopyUrlToLocal : 
        uri:Uri * 
        local:string -> unit
public static function CopyUrlToLocal(
    uri : Uri, 
    local : String
)

Parameters

  • uri
    Type: Uri

    The Uri to copy.

  • local
    Type: String

    The local resource to copy to.

Remarks

This method supports the downloading of HTTP resources, which may cause a delay before returning.

.NET Framework Security

See Also

Reference

PackageUtilities Class

Microsoft.VisualStudio.Shell Namespace