IChannelApi.Insert method
新增栏目。
public int Insert(int siteId, IChannelInfo channelInfo)
parameter | description |
---|---|
siteId | 站点Id。 |
channelInfo | 需要新增的栏目实例。 |
Return Value
返回栏目实例在数据库中插入后的自增长Id。
See Also
- interface IChannelInfo
- interface IChannelApi
- namespace SiteServer.Plugin