ReadOnlyCollectionBuilder<T>.Add(T) 方法

定义

将某项添加到 ReadOnlyCollectionBuilder<T> 中。Adds an item to the ReadOnlyCollectionBuilder<T>.

public:
 virtual void Add(T item);
public void Add (T item);
abstract member Add : 'T -> unit
override this.Add : 'T -> unit
Public Sub Add (item As T)

参数

item
T

要添加到 ReadOnlyCollectionBuilder<T> 的对象。The object to add to the ReadOnlyCollectionBuilder<T>.

实现

适用于