Type
property
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);
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.