| FeatureManagerExInsertComFeatureTMacroFeature Method (IFeatureManager) |
Inserts new macro feature
Namespace:
SolidWorks.Interop.sldworks
Assembly:
CodeStack.SwEx.MacroFeature (in CodeStack.SwEx.MacroFeature.dll) Version: 0.5.3.0 (0.5.3.0)
Syntax public static IFeature InsertComFeature<TMacroFeature>(
this IFeatureManager featMgr
)
where TMacroFeature : MacroFeatureEx
<ExtensionAttribute>
Public Shared Function InsertComFeature(Of TMacroFeature As MacroFeatureEx) (
featMgr As IFeatureManager
) As IFeature
public:
[ExtensionAttribute]
generic<typename TMacroFeature>
where TMacroFeature : MacroFeatureEx
static IFeature^ InsertComFeature(
IFeatureManager^ featMgr
)
Parameters
- featMgr
- Type: IFeatureManager
Pointer to feature manager
Type Parameters
- TMacroFeature
- Definition of COM macro feature
Return Value
Type:
IFeatureNewly created feature
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IFeatureManager. 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