You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Content Namespace > Classes > Blog Class > Blog Methods > GetPost
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Blog.GetPost Method

Gets a blog post for a given ID. Will also return the post information separately (ByRef) in a BlogPostData class. Returns ContentData Class.

C#
public ContentData GetPost(Long post_id, ref BlogPostData PostInfo);
Visual Basic
Public Function GetPost(ByVal post_id As Long, ByRef PostInfo As BlogPostData) As ContentData
Parameters 
Description 
post_id 
Numeric ID for the post. 
PostInfo 
BlogPostData class representing the blog specific post info. This is also in the metadata. 

ContentData class with a ByRef BlogPostData

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!