AudienceCollection.Item property (Guid)

Gets the Audience object with the specified globally unique identifier (GUID) from the collection.

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    AudienceID As Guid _
) As Audience
    Get
'Usage
Dim instance As AudienceCollection
Dim AudienceID As Guid
Dim value As Audience

value = instance(AudienceID)
public Audience this[
    Guid AudienceID
] { get; }

Parameters

  • AudienceID
    Type: System.Guid

    A GUID that specifies the required Audience object.

Property value

Type: Microsoft.Office.Server.Audience.Audience
An object with the specified GUID.

Remarks

In Microsoft Visual C#, the Item property is the indexer for the AudienceCollection class.

See also

Reference

AudienceCollection class

AudienceCollection members

Item overload

Microsoft.Office.Server.Audience namespace