Retrieves asset's type.


SYNTAX


public AssetType Type { get; }


EXAMPLE


using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;

namespace TypeExamples
{
     public class TypeExamples : NETStrategy
     {
         public override void OnQuote()
         {
             Asset[] ass=Asset.GetAllAssets();
             Print(ass[0].Type);
         }
     }
}