DRAG DROP
You are developing a Windows Store app by using JavaScript. The app will use the
fileStream object to write text to a file.
You need to write the text to the file and ensure that the file is available to other apps.
Which five actions should you perform in sequence? (To answer, move the appropriate
actions from the list of actions to the answer area and arrange them in the correct order.)
Which five actions should you perform in sequence?
DRAG DROP
You are developing a Windows Store app by using JavaScript. The app will use the
fileStream object to write text to a file.
You need to write the text to the file and ensure that the file is available to other apps.
Which five actions should you perform in sequence? (To answer, move the appropriate
actions from the list of actions to the answer area and arrange them in the correct order.)
I think the answer is wrong.
1. Create a DataWriter object to write text context
2. Flush data in the DataWriter
3. Commit data in the DataWriter
4. lose th file stream object ?
Incorrect!
1) Create a Sequential output…
2) Clone the filestream …
3) Create a DataWriter …
4) Commit data in the DataWriter …
5) Flush data in the streamContent …