[]
根据给定的主题创建一个新主题;
如果给定的主题为null
(在 Visual Basic 中为 Nothing
),则主题基于办公主题。
public ITheme Add(string themeName, ITheme baseTheme = null)
| Type | Name | Description |
|---|---|---|
| string | themeName | 新主题的名称。 |
| ITheme | baseTheme | 主题基于的主题名称。 |
| Type | Description |
|---|---|
| ITheme | 返回新的ITheme。 |
此方法现已过时。建议使用主题构造函数。