Checking blog type

Magnus Rahl
Member since: 2008

When getting or querying for blogs it is possible to filter by the type of blog by passing a EPiServer.Community.Blog.BlogType enum value. But when I have a Blog object, is there any way to check which type it is? I'm using Relate 2.0.

#55581 Dec 08, 2011 10:38
  • Magnus Rahl
    Member since: 2008

    It turns out I can use Blog.OwnedBy.Context to figure it out. But IMHO Blog should have a property returning the BlogType directly to be consistent with the queries.

    #55582 Dec 08, 2011 10:58