Share via


AudienceEditor Class

Provides a text control along with the audience picker to provide functionality to enter and resolve audience names.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.WebControls.EntityEditor
        Microsoft.SharePoint.WebControls.EntityEditorWithPicker
          Microsoft.Office.Server.WebControls.AudienceEditor
            Microsoft.SharePoint.Portal.WebControls.InputFormAudienceEditor

Namespace:  Microsoft.Office.Server.WebControls
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
<ValidationPropertyAttribute("Audiences")> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Class AudienceEditor _
    Inherits EntityEditorWithPicker _
    Implements IToolPaneControl
'Usage
Dim instance As AudienceEditor
[ValidationPropertyAttribute("Audiences")]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class AudienceEditor : EntityEditorWithPicker, 
    IToolPaneControl

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

AudienceEditor Members

Microsoft.Office.Server.WebControls Namespace