Partilhar via


IContentWriter.Write(IList) Method

Definition

Writes content to the item.

public:
 System::Collections::IList ^ Write(System::Collections::IList ^ content);
public System.Collections.IList Write (System.Collections.IList content);
[System.Runtime.CompilerServices.NullableContext(1)]
public System.Collections.IList Write (System.Collections.IList content);
abstract member Write : System.Collections.IList -> System.Collections.IList
[<System.Runtime.CompilerServices.NullableContext(1)>]
abstract member Write : System.Collections.IList -> System.Collections.IList
Public Function Write (content As IList) As IList

Parameters

content
IList

An array of content "blocks" to be written to the item.

Returns

The blocks of content that were successfully written to the item.

Attributes

Remarks

A "block" of content is provider specific. For the file system a "block" may be considered a byte, a character, or delimited string.

The implementation of this method should treat each element in the content parameter as a block. Each additional call to this method should append any new values to the content writer's current location until Close() is called.

Applies to