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

表示一个 Web 扩展对象。

要了解更多信息，请访问**Work with Office Add-ins**文档文章。
## 方法

| 方法 | 描述 |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getAlternateReferences()](#getAlternateReferences--) | 指定对 Web 扩展的替代引用。 |
| [getBindings()](#getBindings--) | 指定 Web 扩展绑定的列表。 |
| [getClass()](#getClass--) |  |
| [getId()](#getId--) | 唯一标识当前文档中的 Web 扩展实例。 |
| [getProperties()](#getProperties--) | 表示一组 Web 扩展自定义属性。 |
| [getReference()](#getReference--) | 指定对 Web 扩展的主要引用。 |
| [hashCode()](#hashCode--) |  |
| [isFrozen()](#isFrozen--) | 指定用户是否可以与 Web 扩展交互。 |
| [isFrozen(boolean value)](#isFrozen-boolean-) | 指定用户是否可以与 Web 扩展交互。 |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setId(String value)](#setId-java.lang.String-) | 唯一标识当前文档中的 Web 扩展实例。 |
| [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 |  |

**退货：**
布尔值
### getAlternateReferences() {#getAlternateReferences--}
```
public WebExtensionReferenceCollection getAlternateReferences()
```


指定对 Web 扩展的替代引用。

**退货：**
[WebExtensionReferenceCollection](../../com.aspose.words/webextensionreferencecollection) - 相应的[WebExtensionReferenceCollection](../../com.aspose.words/webextensionreferencecollection)价值。
### getBindings() {#getBindings--}
```
public WebExtensionBindingCollection getBindings()
```


指定 Web 扩展绑定的列表。

**退货：**
[WebExtensionBindingCollection](../../com.aspose.words/webextensionbindingcollection) - 相应的[WebExtensionBindingCollection](../../com.aspose.words/webextensionbindingcollection)价值。
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




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


唯一标识当前文档中的 Web 扩展实例。

**退货：**
java.lang.String - 相应的 java.lang.String 值。
### getProperties() {#getProperties--}
```
public WebExtensionPropertyCollection getProperties()
```


表示一组 Web 扩展自定义属性。

**退货：**
[WebExtensionPropertyCollection](../../com.aspose.words/webextensionpropertycollection) - 相应的[WebExtensionPropertyCollection](../../com.aspose.words/webextensionpropertycollection)价值。
### getReference() {#getReference--}
```
public WebExtensionReference getReference()
```


指定对 Web 扩展的主要引用。

**退货：**
[WebExtensionReference](../../com.aspose.words/webextensionreference) - 相应的[WebExtensionReference](../../com.aspose.words/webextensionreference)价值。
### hashCode() {#hashCode--}
```
public native int hashCode()
```




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


指定用户是否可以与 Web 扩展交互。

**退货：**
boolean - 相应的布尔值。
### isFrozen(boolean value) {#isFrozen-boolean-}
```
public void isFrozen(boolean value)
```


指定用户是否可以与 Web 扩展交互。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| value | boolean | 对应的布尔值。 |

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




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




### setId(String value) {#setId-java.lang.String-}
```
public void setId(String value)
```


唯一标识当前文档中的 Web 扩展实例。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| value | java.lang.String | 对应的java.lang.String值。 |

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