DocumentHelperEnsureBlogPostHierarchy Method (TreeNode, Int32, TreeProvider) |
Note: This API is now obsolete.
Ensures that the parent document of the blog post is blog month.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax [ObsoleteAttribute("This method is obsolete. Use overload method to pass parent document instance instead of the ID.")]
public static int EnsureBlogPostHierarchy(
TreeNode node,
int parentNodeId,
TreeProvider tree
)
Parameters
- node
- Type: CMS.DocumentEngineTreeNode
Blog post document - parentNodeId
- Type: SystemInt32
Node ID of the current parent node - tree
- Type: CMS.DocumentEngineTreeProvider
TreeProvider to use
Return Value
Type:
Int32ID of the new parent (blog month document if CMS.BlogMonth document type exists)
See Also