TextDecorationCollection.IList.Add(Object) 方法

定义

向集合中添加一项。Adds an item to the collection.

 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

要添加到 ObjectTextDecorationCollectionThe Object to add to the TextDecorationCollection.

返回

Int32

新元素的插入位置。The position into which the new element was inserted.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 TextDecorationCollection 实例被强制转换为 IList 接口时使用。It can be used only when the TextDecorationCollection instance is cast to an IList interface.

适用于

另请参阅