ApiPlaceholder
表示占位符的类。
方法
下表列出了可用的方法。
| 方法 | 返回值 | 描述 |
|---|---|---|
| GetClassType | "placeholder" | 返回 ApiPlaceholder 类的类型。 |
| GetIndex | number | undefined | 返回占位符索引。 |
| GetType | PlaceholderType | 返回占位符类型。 |
| SetIndex | boolean | 设置占位符索引。 |
| SetType | boolean | 设置占位符类型。 |
表示占位符的类。
下表列出了可用的方法。
| 方法 | 返回值 | 描述 |
|---|---|---|
| GetClassType | "placeholder" | 返回 ApiPlaceholder 类的类型。 |
| GetIndex | number | undefined | 返回占位符索引。 |
| GetType | PlaceholderType | 返回占位符类型。 |
| SetIndex | boolean | 设置占位符索引。 |
| SetType | boolean | 设置占位符类型。 |