IBridgeMove Method
ファイルをディレクトリツリー内で移動します。
Namespace: Kasasagi.DavServerAssembly: Kasasagi.DavServer (in Kasasagi.DavServer.dll) Version: 1.0.1+092e35ef41f9c66a6f060a166bd1527db0f2dce3
bool Move(
string source,
string destination
)
Function Move (
source As String,
destination As String
) As Boolean
bool Move(
String^ source,
String^ destination
)
abstract Move :
source : string *
destination : string -> bool
- source String
- 移動元の絶対パスが渡されます。
- destination String
- 移動先の絶対パスが渡されます。
Boolean
ファイルを移動できた場合はtrue、移動できなかった場合はfalseを返します。
ディレクトリを移動しようとした場合はfalseを返します。
このメソッドはファイルの移動にのみ対応し、
ディレクトリの移動については処理せずにfalseを返します。
ファイルの移動先に同名のファイルが存在する場合には既存のファイルが上書きされますが、
同名のディレクトリが存在する場合には、
このメソッドは移動を断念してfalseを返します。
又、ファイルの移動先となるディレクトリが存在しない場合も、
このメソッドはfalseを返します。