IContentApi.GetContentInfo method

获取内容实例。

  1. public IContentInfo GetContentInfo(int siteId, int channelId, int contentId)
parameter description
siteId 内容所属的站点Id。
channelId 内容所属的栏目Id。
contentId 内容Id。

Return Value

如果对应的内容存在,则返回内容实例;否则返回 null。

See Also