次の方法で共有


PackageUtilities.CopyUrlToLocal Method

Copies the specified file to the local project directory.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣言
Public Shared Sub CopyUrlToLocal ( _
    uri As Uri, _
    local As String _
)
'使用
Dim uri As Uri
Dim local As String

PackageUtilities.CopyUrlToLocal(uri, local)
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

Remarks

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

.NET Framework Security

See Also

Reference

PackageUtilities Class

PackageUtilities Members

Microsoft.VisualStudio.Shell Namespace