WstDirectoryInfo.MoveTo Method

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

Moves a DirectoryInfo instance and its contents to a new path.

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

Syntax

'Declaration

  Public Sub MoveTo ( _
    destDirName As String _
)
  public void MoveTo (
    string destDirName
)

Parameters

  • destDirName
    The name and path to which to move this directory. The destination cannot be another disk volume or a directory with the identical name. It can be an existing directory to which you want to add this directory as a subdirectory.

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

WstDirectoryInfo Class
WstDirectoryInfo Members
Microsoft.Webstore.WstClient Namespace