
**遗产：**
java.lang.Object
```
public class OleControl
```

表示 OLE ActiveX 控件。

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

| 方法 | 描述 |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getName()](#getName--) | 获取 ActiveX 控件的名称。 |
| [hashCode()](#hashCode--) |  |
| [isForms2OleControl()](#isForms2OleControl--) | 如果控件是一个则返回真[Forms2OleControl](../../com.aspose.words/forms2olecontrol). |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [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 |  |

**退货：**
布尔值
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




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


获取 ActiveX 控件的名称。

**退货：**
java.lang.String - ActiveX 控件的名称。
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**退货：**
整数
### isForms2OleControl() {#isForms2OleControl--}
```
public boolean isForms2OleControl()
```


如果控件是一个则返回真[Forms2OleControl](../../com.aspose.words/forms2olecontrol).

**退货：**
 boolean - 如果控件是[Forms2OleControl](../../com.aspose.words/forms2olecontrol).
### notify() {#notify--}
```
public final native void notify()
```




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




### 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 |  |
