How to use C# to get the parameters of the Tiles procedural texture?

How to use C# to get the parameters of the Tiles procedural texture?

case "Tiles":
 
     Debug.Print($"======{texType}======");
 
     Debug.Print($"{tex.ClassName(false)} has {tex.NumParamBlocks} params");
 
 

print message:

======Tiles======
Tiles has 0 params