AudienceCollection.Item Property (String)

NOTE: This API is now obsolete.

Obsolete.

Namespace:  Microsoft.SharePoint.Portal.Audience
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute(""Microsoft.SharePoint.Portal.Audience.AudienceCollection" is obsolete; use class "Microsoft.Office.Server.Audience.AudienceCollection" instead.")> _
Public ReadOnly Default Property Item ( _
    AudienceName As String _
) As Audience
    Get
'Usage
Dim instance As AudienceCollection
Dim AudienceName As String
Dim value As Audience

value = instance(AudienceName)
[ObsoleteAttribute(""Microsoft.SharePoint.Portal.Audience.AudienceCollection" is obsolete; use class "Microsoft.Office.Server.Audience.AudienceCollection" instead.")]
public Audience this[
    string AudienceName
] { get; }

Parameters

Property Value

Type: Microsoft.SharePoint.Portal.Audience.Audience

See Also

Reference

AudienceCollection Class

AudienceCollection Members

Item Overload

Microsoft.SharePoint.Portal.Audience Namespace