你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ModelReaderWriterTypeBuilder.AddItem(Object, Object) Method

Definition

Adds an item to the passed in collection builder.

protected virtual void AddItem(object collectionBuilder, object? item);
abstract member AddItem : obj * obj -> unit
override this.AddItem : obj * obj -> unit
Protected Overridable Sub AddItem (collectionBuilder As Object, item As Object)

Parameters

collectionBuilder
Object

Represents the collection builder to which the item will be added.

item
Object

Represents the item that will be added to the collection builder.

Remarks

The collection builder instance that is being passed in is the instance returned from CreateInstance(). The state of the collection builder is maintained internally by ModelReaderWriter and is not needed to be maintained by the implementation.

Applies to