 | IMaterialsGetByIndex Method |
Returns a material with the given index. If no material is found, ArgumentException is thrown.
Namespace:
EMInvent.InventSim.COMServer
Assembly:
InventSim (in InventSim.exe) Version: 5.1.12.6+develop
SyntaxIMaterial GetByIndex(
int index
)
Function GetByIndex (
index As Integer
) As IMaterial
Dim instance As IMaterials
Dim index As Integer
Dim returnValue As IMaterial
returnValue = instance.GetByIndex(index)
Parameters
- index
- Type: SystemInt32
Material index in the repository.
Return Value
Type:
IMaterialReference to the material.
See Also