| PostGetPostById Method |
Returns the post by its Id.
Namespace: Dynamicweb.Content.SocialAssembly: Dynamicweb (in Dynamicweb.dll) Version: 9.6.0
Syntax public static Post GetPostById(
int id
)
Public Shared Function GetPostById (
id As Integer
) As Post
Parameters
- id
- Type: SystemInt32
Post Id.
Return Value
Type:
PostA post with the given Id or null (Nothing in Visual Basic) if the post with the given Id doesn't exist.
Remarks See Also