WstFileInfo.CopyTo Method (WstContext, String)
[This is internal Microsoft documentation - Do not distribute.]
Copies an existing file to a new file, disallowing the overwriting of an existing file.
Namespace: Microsoft.Webstore.WstClient
Assembly: ICL (in icl.dll)
Syntax
'Declaration
Public Function CopyTo ( _
destContext As WstContext, _
destPath As String _
) As WstFileInfo
public WstFileInfo CopyTo (
WstContext destContext,
string destPath
)
Parameters
- destContext
- destPath
The name of the new file to copy to.
Return Value
A new file with a fully qualified path.
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
WstFileInfo Class
WstFileInfo Members
Microsoft.Webstore.WstClient Namespace