Share via


UserDocsWebPart.QueryCreatedBy property

Gets or sets a value that controls whether the web part will retrieve documents that were created by the user.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("QueryCreatedByName", "Data", "QueryCreatedByDesc")> _
Public Property QueryCreatedBy As Boolean
    Get
    Set
'Usage
Dim instance As UserDocsWebPart
Dim value As Boolean

value = instance.QueryCreatedBy

instance.QueryCreatedBy = value
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("QueryCreatedByName", "Data", "QueryCreatedByDesc")]
public bool QueryCreatedBy { get; set; }

Property value

Type: System.Boolean
true if whether the web part will retrieve documents that were created by the user; otherwise, false.

See also

Reference

UserDocsWebPart class

UserDocsWebPart members

Microsoft.SharePoint.WebPartPages namespace