Gets the number of Costing templates available for the specified type of Costing analysis.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetTemplateCount( _
ByVal CostingType As System.Integer _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICostManager
Dim CostingType As System.Integer
Dim value As System.Integer
value = instance.GetTemplateCount(CostingType) |
C# | |
---|
System.int GetTemplateCount(
System.int CostingType
) |
C++/CLI | |
---|
System.int GetTemplateCount(
& System.int CostingType
) |
Parameters
- CostingType
- Type of Costing analysis as defined in swcCostingType_e
Return Value
Number of Costing templates available for CostingType
Example
Remarks
See Also
Availability
SOLIDWORKS Costing API 2013 SP0