MatchCollection.IList.Add(Object) 方法

定义

调用此方法始终引发 NotSupportedExceptionCalling this method always throws NotSupportedException.

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (value As Object) As Integer Implements IList.Add

参数

value
Object

要添加到集合中的对象。The object to add to the collection.

返回

Int32

调用此方法始终引发 NotSupportedExceptionCalling this method always throws NotSupportedException.

实现

例外

该集合是只读的。The collection is read-only.

适用于