Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets a value that indicates whether the Web Part renders the new comment area for the user to post a new comment.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Property WebPartPropertyAllowNewComment As Boolean
Get
Set
'Usage
Dim instance As SocialCommentWebPart
Dim value As Boolean
value = instance.WebPartPropertyAllowNewComment
instance.WebPartPropertyAllowNewComment = value
public bool WebPartPropertyAllowNewComment { get; set; }
Property Value
Type: System.Boolean
true if the Web Part renders the new comment area for the user to post a new comment; otherwise, false. The default value is true.