次の方法で共有


FilteredObservableCollection<T>.Add Method

Definition

Overloads

Add(Object)

Since this collection is read-only, throws an InvalidOperationException.

Add(T)

Since this collection is read-only, throws an InvalidOperationException.

Add(Object)

Since this collection is read-only, throws an InvalidOperationException.

public:
 virtual int Add(System::Object ^ value);
public:
 int Add(Platform::Object ^ value);
int Add(winrt::Windows::Foundation::IInspectable const & value);
public int Add (object value);
abstract member Add : obj -> int
override this.Add : obj -> int
Public Function Add (value As Object) As Integer

Parameters

value
Object

The value.

Returns

The number of items.

Implements

Applies to

Add(T)

Since this collection is read-only, throws an InvalidOperationException.

public:
 virtual void Add(T item);
public:
 void Add(T item);
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)

Parameters

item
T

The item.

Implements

Applies to