
**遗产：**
java.lang.Object

**所有已实现的接口：**
java.lang.Iterable
```
public class VbaReferenceCollection implements Iterable
```

代表集合[VbaReference](../../com.aspose.words/vbareference)对象。

要了解更多信息，请访问**Working with VBA Macros**文档文章。
## 方法

| 方法 | 描述 |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [get(int index)](#get-int-) | 得到[VbaReference](../../com.aspose.words/vbareference)指定索引处的对象。 |
| [getClass()](#getClass--) |  |
| [getCount()](#getCount--) | 返回集合中 VBA 引用的数量。 |
| [hashCode()](#hashCode--) |  |
| [iterator()](#iterator--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [remove(VbaReference item)](#remove-com.aspose.words.VbaReference-) | 从集合中移除指定 VbaReference 项的第一个匹配项。 |
| [removeAt(int index)](#removeAt-int-) | 移除集合的指定索引处的 VbaReference 元素。 |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**退货：**
布尔值
### get(int index) {#get-int-}
```
public VbaReference get(int index)
```


得到[VbaReference](../../com.aspose.words/vbareference)指定索引处的对象。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| index | int | 要获取的引用的从零开始的索引。 |

**退货：**
[VbaReference](../../com.aspose.words/vbareference) -\{[VbaReference](../../com.aspose.words/vbareference)指定索引处的对象。
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**退货：**
java.lang.Class<?>
### getCount() {#getCount--}
```
public int getCount()
```


返回集合中 VBA 引用的数量。

**退货：**
int - 集合中的 VBA 引用数。
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**退货：**
整数
### iterator() {#iterator--}
```
public Iterator iterator()
```




**退货：**
java.util.迭代器
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### remove(VbaReference item) {#remove-com.aspose.words.VbaReference-}
```
public void remove(VbaReference item)
```


从集合中移除指定 VbaReference 项的第一个匹配项。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| item | [VbaReference](../../com.aspose.words/vbareference) |  |

### removeAt(int index) {#removeAt-int-}
```
public void removeAt(int index)
```


移除集合的指定索引处的 VbaReference 元素。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| index | int |  |

### toString() {#toString--}
```
public String toString()
```




**退货：**
java.lang.字符串
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |
