NbFileBucketUploadNewFileAsync Method |
新規ファイルアップロード
Namespace: Nec.NebulaAssembly: Nec.Nebula.Core (in Nec.Nebula.Core.dll) Version: 7.0.0.0 (7.0.0.0)
Syntax public Task<NbFileMetadata> UploadNewFileAsync(
byte[] dataBytes,
string fileName,
string contentType,
NbAcl acl = null,
bool cacheDisabled = false
)
Public Function UploadNewFileAsync (
dataBytes As Byte(),
fileName As String,
contentType As String,
Optional acl As NbAcl = Nothing,
Optional cacheDisabled As Boolean = false
) As Task(Of NbFileMetadata)
public:
Task<NbFileMetadata^>^ UploadNewFileAsync(
array<unsigned char>^ dataBytes,
String^ fileName,
String^ contentType,
NbAcl^ acl = nullptr,
bool cacheDisabled = false
)
member UploadNewFileAsync :
dataBytes : byte[] *
fileName : string *
contentType : string *
?acl : NbAcl *
?cacheDisabled : bool
(* Defaults:
let _acl = defaultArg acl null
let _cacheDisabled = defaultArg cacheDisabled false
*)
-> Task<NbFileMetadata>
Parameters
- dataBytes
- Type: SystemByte
ファイルデータ - fileName
- Type: SystemString
ファイル名 - contentType
- Type: SystemString
Content-Type - acl (Optional)
- Type: Nec.NebulaNbAcl
ACL (オプション) - cacheDisabled (Optional)
- Type: SystemBoolean
キャッシュ禁止フラグ
Return Value
Type:
TaskNbFileMetadataファイルメタデータ
Exceptions Version Information Core
Supported in: 1.0
See Also