Brightsign Object Reference Manual (FW 5.1) Uživatelský manuál Strana 170

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 341
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 169
162
CONTENT MANAGEMENT OBJECTS
roAssetCollection
This object is used to represent a collection of assets.
Object Creation: The roAssetCollection object is created with no parameters.
CreateObject("roAssetCollection")
You can populate an asset collection with individual calls to AddAsset() or AddAssets(). You can also populate an
asset collection using the roSyncSpec.GetAssets method, as shown below:
assetCollection = CreateObject("roAssetCollection")
localCurrentSync = CreateObject("roSyncSpec")
if localCurrentSync.ReadFromFile("local-sync.xml") then
assetCollection = localCurrentSync.GetAssets("download")
endif
Interfaces: ifAssetCollection, ifInternalAssetCollection
The ifAssetCollection interface provides the following: stuff
GetFailureReason() As String
AddAsset(asset_info As Object) As Boolean: Adds a single asset from an associative array.
Zobrazit stránku 169
1 2 ... 165 166 167 168 169 170 171 172 173 174 175 ... 340 341

Komentáře k této Příručce

Žádné komentáře