GridColumnStylesCollection.IList.Add(Object) 方法
定义
将对象添加到集合。Adds an object 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
要添加到集合的对象。The object to be added to the collection. 该值可以为 null。The value can be null.
返回
已添加值处的索引。The index at which the value has been added.
实现
例外
无法将 value 强制转换为 DataGridColumnStyle。value cannot be cast to a DataGridColumnStyle.