WstFile.Move Method

[This is internal Microsoft documentation - Do not distribute.]

Moves a specified file to a new location, providing the option to specify a new file name.

Namespace: Microsoft.Webstore.WstClient
Assembly: ICL (in icl.dll)

Syntax

'Declaration

  Public Shared Sub Move ( _
    context As WstContext, _
    srcPath As String, _
    destPath As String _
)
  public static void Move (
    WstContext context,
    string srcPath,
    string destPath
)

Parameters

  • context
    Webstore context for the source and destination paths
  • srcPath
    The name of the file to move.
  • destPath
    The new path for the file.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

WstFile Class
WstFile Members
Microsoft.Webstore.WstClient Namespace