IContentApi.GetContentValue method

获取内容的属性值。

  1. public string GetContentValue(int siteId, int channelId, int contentId, string attributeName)
parameter description
siteId 站点Id。
channelId 栏目Id。
contentId 内容Id。
attributeName 内容属性名称。

Return Value

如果对应的内容存在,则返回内容的属性值;否则返回 null。

See Also