Id
property
Retrieves asset's id.
Syntax
public int Id { get; }
Example
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;
namespace IdExamples
{
public class IdExamples : NETStrategy
{
public override void OnQuote()
{
Asset[] ass=Asset.GetAllAssets();
Print(ass[0].Id.ToString());
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.