Model.RemoveSubModel Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Removes a submodel from a model.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function RemoveSubModel ( _
submodelToBeRemoved As Model _
) As Model
public Model RemoveSubModel(
Model submodelToBeRemoved
)
public:
Model^ RemoveSubModel(
Model^ submodelToBeRemoved
)
member RemoveSubModel :
submodelToBeRemoved:Model -> Model
public function RemoveSubModel(
submodelToBeRemoved : Model
) : Model
Parameters
- submodelToBeRemoved
Type: Microsoft.SolverFoundation.Services.Model
The submodel to remove.
Return Value
Type: Microsoft.SolverFoundation.Services.Model
The submodel, or nulla null reference (Nothing in Visual Basic) if the submodel does not exist in the model.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.