OpenApiWriterBase.WriteEnumerable<T>(IEnumerable<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes an enumerable collection as an array
public virtual void WriteEnumerable<T>(System.Collections.Generic.IEnumerable<T> collection);
abstract member WriteEnumerable : seq<'T> -> unit
override this.WriteEnumerable : seq<'T> -> unit
Public Overridable Sub WriteEnumerable(Of T) (collection As IEnumerable(Of T))
Type Parameters
- T
The type of elements in the collection.
Parameters
- collection
- IEnumerable<T>
The enumerable collection to write.