GetAllAssets ()
method
Returns collection of all available assets.
Syntax
public static Asset[] GetAllAssets ()
Return
Asset[]
Example
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;
namespace GetAllAssetsExamples
{
public class GetAllAssetsExamples : NETStrategy
{
public override void OnQuote()
{
Asset[] ass;
ass = Asset.GetAllAssets();
for (inti=0;ass.Length-1>i;i++)
{
Print(ass[i].ToString());
}
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.