IBridgeCreateFile Method
ファイルを生成します。
Namespace: Kasasagi.DavServerAssembly: Kasasagi.DavServer (in Kasasagi.DavServer.dll) Version: 1.0.1+092e35ef41f9c66a6f060a166bd1527db0f2dce3
bool CreateFile(
string path,
Stream stream,
string type
)
Function CreateFile (
path As String,
stream As Stream,
type As String
) As Boolean
bool CreateFile(
String^ path,
Stream^ stream,
String^ type
)
abstract CreateFile :
path : string *
stream : Stream *
type : string -> bool
- path String
- ファイルの絶対パスが渡されます。
- stream Stream
-
ファイルの内容を保有するストリームが渡されます。
- type String
- ファイルのMIMEタイプが渡されます。
Boolean
ファイルを生成できた場合はtrue、生成できなかった場合はfalseを返します。
又、既存のファイルを上書きした場合はtrue、
上書きできなかった場合はfalseを返します。