[This is preliminary documentation and subject to change.]

Initializes a new instance with the given title and the given ArrayList of AbstractSharedMediaInfo objects.


Namespace: MediaMallTechnologies.Plugin
Assembly: Util (in Util.dll)

Syntax

Visual Basic (Declaration)
Public Sub New( _ 
   ByVal id As String,  _ 
   ByVal parentId As String,  _ 
   ByVal title As String,  _ 
   ByVal totalCount As Integer,  _ 
   ByVal items As ICollection(Of AbstractSharedMediaInfo),  _ 
   ByVal isContainer As Boolean,  _ 
   ByVal upnpClass As String _ 
)
C#
public Payload(
   string id,
   string parentId,
   string title,
   int totalCount,
   ICollection<AbstractSharedMediaInfo> items,
   bool isContainer,
   string upnpClass
)
C++
public:
 Payload(
   String id,
   String parentId,
   String title,
   int totalCount,
   ICollection<AbstractSharedMediaInfo> items,
   bool isContainer,
   String upnpClass
) sealed 
J#
public Payload(
   string id,
   string parentId,
   string title,
   int totalCount,
   ICollection<AbstractSharedMediaInfo> items,
   bool isContainer,
   string upnpClass
)
JScript
public function Payload(
   id : String,
   parentId : String,
   title : String,
   totalCount : int,
   items : ICollection<AbstractSharedMediaInfo>,
   isContainer : bool,
   upnpClass : String
)

Parameters

id
The unique ID for this payload.
parentId
The unique ID for the owner that represents this payload.
title
The name for this payload.
totalCount
The total number of matching items for this payload. May be larger than the count of actual items in the embedded ICollection.
items
The ICollection of items for this payload.
isContainer
true if this payload represents a container, false otherwise.
upnpClass
The UPnP class (upnp:class) for this Payload and its items, or null for default.

See Also