ElementsList<T0>.GetElement

声明

public T GetElement(uint elementID);

声明

public T GetElement(Dictionary<string,string> attributes);

声明

public T GetElement(string name, Dictionary<string,string> attributes);

参数

elementID 元素 ID。
attributes 元素必须包含的属性字典。
name 元素名称。

返回值

T 与参数匹配的列表中的元素。如果没有匹配项,则返回 null。

描述

从列表中获取元素。


Did you find this page useful? Please give it a rating: