| MacroFeatureDataExGetParametersTParams Method |
Deserializes the parameters of the macro feature to a structure
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 TParams GetParameters<TParams>(
this IMacroFeatureData featData,
IFeature feat,
IModelDoc2 model
)
where TParams : class, new()
<ExtensionAttribute>
Public Shared Function GetParameters(Of TParams As {Class, New}) (
featData As IMacroFeatureData,
feat As IFeature,
model As IModelDoc2
) As TParams
public:
[ExtensionAttribute]
generic<typename TParams>
where TParams : ref class, gcnew()
static TParams GetParameters(
IMacroFeatureData^ featData,
IFeature^ feat,
IModelDoc2^ model
)
Parameters
- featData
- Type: IMacroFeatureData
Pointer to macro feature data - feat
- Type: IFeature
Pointer to a feature - model
- Type: IModelDoc2
Pointer to model document
Type Parameters
- TParams
- Type of parameters structure
Return Value
Type:
TParamsParameters
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IMacroFeatureData. 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