Click or drag to resize
PostGetPostById Method
Returns the post by its Id.

Namespace: Dynamicweb.Content.Social
Assembly: Dynamicweb (in Dynamicweb.dll) Version: 9.6.0
Syntax
public static Post GetPostById(
	int id
)

Parameters

id
Type: SystemInt32
Post Id.

Return Value

Type: Post
A post with the given Id or null (Nothing in Visual Basic) if the post with the given Id doesn't exist.
Remarks