AddRegisteredReference
VbaProjectReferenceCollection.AddRegisteredReference method
添加对自动化类型库的引用。
public int AddRegisteredReference(string name, string libid)
| 范围 | 类型 | 描述 |
|---|---|---|
| name | String | 参考名称。 |
| libid | String | 自动化类型库的标识符。 |
添加对自动化类型库的引用。
public int AddRegisteredReference(string name, string libid)
| 范围 | 类型 | 描述 |
|---|---|---|
| name | String | 参考名称。 |
| libid | String | 自动化类型库的标识符。 |