GetObjectById

Document.GetObjectById method

获取文档中具有指定 ID 的对象。

public object GetObjectById(string id)
范围类型描述
idString对象标识。

返回值

具有指定 id 的对象。如果找不到 id,则为 Null。

也可以看看