|
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)
Syntaxpublic static string GetMaterialClassName(
this CostAnalysisMachining costAnalysis,
string materialName
)
<ExtensionAttribute>
Public Shared Function GetMaterialClassName (
costAnalysis As CostAnalysisMachining,
materialName As String
) As String
Parameters
- costAnalysis
- Type: CostAnalysisMachining
Machining costing object. - materialName
- Type: SystemString
Material name.
Return Value
Type:
Stringcosting 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