You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Content Namespace > Classes > Blog Class > Blog Methods > GetBlogData Method > GetBlogData
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Blog.GetBlogData Method (Long, DateTime, Integer, Integer)

Overloaded Method to obtain a BlogData Class. Accepts the ID of the blog, the StartDate (as DateTime) for the posts, the number of posts visible and the language ID. Returns either a populated BlogData class or null (nothing). 

This function is overloaded. See Also:

  • BlogObject(Long)
  • BlogObject(Long DateTime)
  • BlogObject(FolderData)

C#
public BlogData GetBlogData(Long BlogID, DateTime StartDate, int Postsvisible, int LanguageID);
Visual Basic
Public Function GetBlogData(ByVal BlogID As Long, ByVal StartDate As DateTime, ByVal Postsvisible As Integer, ByVal LanguageID As Integer) As BlogData
Parameters 
Description 
BlogID 
Numeric ID of the blog. This corresponds to the ID of the blog folder. 
StartDate 
The DateTime value from which to get posts. You can obtain historical posts with this property, or leave it blank to begin now. 
Postsvisible 
Integer number of posts to return. Leave as 0 to use the blog setting, or -1 to return none. 
LanguageID 
Integer ID of the language. 

Either a populated BlogData class or null (nothing).

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!