VSWebProjectItem.UpdateLocalCopy Method ()

 

Updates the local copy of the project item.

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

Syntax

string UpdateLocalCopy()
String^ UpdateLocalCopy()
abstract UpdateLocalCopy : unit -> string
Function UpdateLocalCopy As String

Return Value

Type: System.String

The local file name for the file.

Remarks

This method makes sure that the local copy of the project item file is up to date, copying the file from the server if necessary. It then returns the path of the local file. Changes to the file are automatically propagated to the server when the file is written. For local Web sites, this method will return the file name only. This method is applicable only for file objects.

See Also

VSWebProjectItem Interface
VsWebSite Namespace

Return to top