IndexOf

ISectionCollection.IndexOf 方法

返回集合中指定节的索引。

public int IndexOf(ISection section)
参数类型描述
sectionISection要查找的节。

返回值

节的索引,如果该节不在此集合中,则返回 -1。

另见