VbaReference
内容
[
隐藏
]遗产: java.lang.Object
所有已实现的接口: java.lang.Cloneable
public abstract class VbaReference implements Cloneable
实现对自动化类型库或 VBA 项目的引用。
要了解更多信息,请访问Working with VBA Macros文档文章。
构造器
| 构造函数 | 描述 | 
|---|---|
| VbaReference() | 
方法
| 方法 | 描述 | 
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getLibId() | 获取包含自动化类型库标识符的字符串值。 | 
| getType() | 得到VbaReferenceType指示 VbaReference 对象表示的引用类型的对象。 | 
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) | 
VbaReference()
public VbaReference()
equals(Object arg0)
public boolean equals(Object arg0)
参数:
| 范围 | 类型 | 描述 | 
|---|---|---|
| arg0 | java.lang.Object | 
退货: 布尔值
getClass()
public final native Class<?> getClass()
退货: java.lang.Class
getLibId()
public abstract String getLibId()
获取包含自动化类型库标识符的字符串值。根据引用类型,此属性的值可以是:
- 2.1.1.8 LibidReference 中指定的一个 LibidReference[MS-OVBA]:https://docs.microsoft.com/en-us/openspecs/office_文件_格式/ms-ovba/3737ef6e-d819-4186-a5f2-6e258ddf66a5
- 2.1.1.12 ProjectReference 中指定的一个 ProjectReference[MS-OVBA]:https://docs.microsoft.com/en-us/openspecs/office_文件_formats/ms-ovba/9a45ac1a-f1ff-4ebd-958e-537701aa8131
退货: java.lang.String - 包含自动化类型库标识符的字符串值。
getType()
public abstract int getType()
得到VbaReferenceType指示 VbaReference 对象表示的引用类型的对象。
退货: 整数 -{VbaReferenceType指示 VbaReference 对象表示的引用类型的对象。返回值是其中之一VbaReferenceType常数。
hashCode()
public native int hashCode()
退货: 整数
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
退货: java.lang.字符串
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
参数:
| 范围 | 类型 | 描述 | 
|---|---|---|
| arg0 | long | 
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
参数:
| 范围 | 类型 | 描述 | 
|---|---|---|
| arg0 | long | |
| arg1 | int |