Gets the number of materials in the specified class from the Costing template for this machining Costing analysis.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetMaterialCount( _
ByVal ClassName As System.String _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICostAnalysisMachining
Dim ClassName As System.String
Dim value As System.Integer
value = instance.GetMaterialCount(ClassName) |
C# | |
---|
System.int GetMaterialCount(
System.string ClassName
) |
C++/CLI | |
---|
System.int GetMaterialCount(
& System.String^ ClassName
) |
Parameters
- ClassName
- Name of material class
Return Value
Number of materials in the specified class
Remarks
See Also
Availability
SOLIDWORKS Costing API 2013 SP0