質問編集履歴

3

ソース修正

2019/08/06 02:55

投稿

apptail
apptail

スコア14

test CHANGED
File without changes
test CHANGED
@@ -88,7 +88,7 @@
88
88
 
89
89
  var customMetadata = new Dictionary<string, string>();
90
90
 
91
- customMetadata["uploadFolder"] = "folder";
91
+ customMetadata["folder"] = "uploadFolder";
92
92
 
93
93
  metadataChange.CustomMetadata = customMetadata;
94
94
 

2

ご指摘事項修正

2019/08/06 02:55

投稿

apptail
apptail

スコア14

test CHANGED
File without changes
test CHANGED
@@ -78,6 +78,8 @@
78
78
 
79
79
 
80
80
 
81
+ // この時点ではまだストレージ側にファイルはない
82
+
81
83
  StorageReference test_ref = storage_ref.Child("test_storage.txt");
82
84
 
83
85
 
@@ -86,15 +88,11 @@
86
88
 
87
89
  var customMetadata = new Dictionary<string, string>();
88
90
 
89
- customMetadata["testMeta"] = "AAA";
91
+ customMetadata["uploadFolder"] = "folder";
90
92
 
91
93
  metadataChange.CustomMetadata = customMetadata;
92
94
 
93
95
  metadataChange.ContentType = "text/plain";
94
-
95
-
96
-
97
- //test_ref.UpdateMetadataAsync(metadataChange);
98
96
 
99
97
 
100
98
 
@@ -143,9 +141,3 @@
143
141
  # アップロードできたファイルのメタデータ情報
144
142
 
145
143
  ![イメージ説明](f4ab294a2fbedf9d52e12f2a23680a78.png)
146
-
147
-
148
-
149
- ※uploadFolder : "folder"となっていますが、
150
-
151
- 上記のソースで実施したところだと、testMeta : "AAA"となります。

1

キャプチャとソースの違い明記

2019/08/06 02:54

投稿

apptail
apptail

スコア14

test CHANGED
File without changes
test CHANGED
@@ -143,3 +143,9 @@
143
143
  # アップロードできたファイルのメタデータ情報
144
144
 
145
145
  ![イメージ説明](f4ab294a2fbedf9d52e12f2a23680a78.png)
146
+
147
+
148
+
149
+ ※uploadFolder : "folder"となっていますが、
150
+
151
+ 上記のソースで実施したところだと、testMeta : "AAA"となります。