Share via


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