Share via


AudienceManager.AudienceLeftContentList Property

Gets an ArrayList object of AudienceLeftContent objects.

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

Syntax

'Declaration
Public ReadOnly Property AudienceLeftContentList As ArrayList
    Get
'Usage
Dim instance As AudienceManager
Dim value As ArrayList

value = instance.AudienceLeftContentList
public ArrayList AudienceLeftContentList { get; }

Property Value

Type: System.Collections.ArrayList
System.Collections.ArrayList object that represents a list of AudienceLeftContent objects associated with the current audience.

Remarks

The AudienceLeftContentList property is read-only.

Examples

The following code example shows how to use the AudienceLeftContentList property to retrieve and list operand items associated with an audience.

AudienceManager AudMgr = new AudienceManager();
ArrayList LeftContentList;
LeftContentList = AudMgr.AudienceLeftContentList;

for (int list=0; list < LeftContentList.Count; list++)
{
    System.Console.WriteLine("{0}", list);
    System.Console.WriteLine("  Name" + ((AudienceLeftContent)LeftContentList[list]).Name);
    System.Console.WriteLine("  DisplayName" + ((AudienceLeftContent)LeftContentList[list]).DisplayName);
    System.Console.WriteLine("  DataType" + ((AudienceLeftContent)LeftContentList[list]).DataType);
    System.Console.WriteLine("  DataLength" + ((AudienceLeftContent)LeftContentList[list]).DataLength);
    System.Console.WriteLine("  bProperty" + ((AudienceLeftContent)LeftContentList[list]).bProperty);
}
System.Console.WriteLine("End");

See Also

Reference

AudienceManager Class

AudienceManager Members

Microsoft.Office.Server.Audience Namespace