Click or drag to resize

ExtensionGetMaterialClassName Method

Gets the material class name for the specified material name.

Namespace:  CADSharpTools.SOLIDWORKS.Costing
Assembly:  CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntax
public static string GetMaterialClassName(
	this CostAnalysisMachining costAnalysis,
	string materialName
)

Parameters

costAnalysis
Type: CostAnalysisMachining
Machining costing object.
materialName
Type: SystemString
Material name.

Return Value

Type: String
costing type.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CostAnalysisMachining. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also