共用方式為


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

'宣告
Public Shared Sub CopyUrlToLocal ( _
    uri As Uri, _
    local As String _
)
public static void CopyUrlToLocal(
    Uri uri,
    string local
)

Parameters

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