Compartir a través de


VSWebProjectItem.UpdateRemoteCopy Method

Updates the remote copy of the project item.

Namespace:  VsWebSite
Assembly:  VsWebSite.Interop (in VsWebSite.Interop.dll)

Syntax

'Declaration
Sub UpdateRemoteCopy
void UpdateRemoteCopy()
void UpdateRemoteCopy()
abstract UpdateRemoteCopy : unit -> unit
function UpdateRemoteCopy()

Remarks

For remote Web sites, this method copies the local copy of the project item to the server. This method can be used to make sure that changes that are made in the local copy of the project item file are reflected on the server. The primary use of this method is to keep files up to date even when they are opened and edited outside Visual Studio. For local Web sites, this method will do nothing. This method is applicable only for file objects.

.NET Framework Security

See Also

Reference

VSWebProjectItem Interface

VsWebSite Namespace