CreateObject Method
Puts an object into a bucket.
Syntax
[VB.NET] Public Sub CreateObject(ByVal ObjectName As String)
[C#] public void CreateObject(string objectName);
Remarks
This method will put the file specified by LocalFile into the bucket specified by the Bucket property. If LocalFile is empty, the contents of the ObjectData property will be uploaded instead. SetUploadStream may also be used to specify the data to upload.
NOTE: This method has a corresponding asynchronous version (CreateObjectAsync) for use in the WinRT environment.