IContentApi.NewInstance method
实例化内容对象。
public IContentInfo NewInstance(int siteId, int channelId)
| parameter | description |
|---|---|
| siteId | 内容所属的站点Id。 |
| channelId | 内容所属的栏目Id。 |
Return Value
返回新的内容实例。
See Also
- interface IContentInfo
- interface IContentApi
- namespace SiteServer.Plugin
