Share via


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

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

See Also

Reference

Model Class

Microsoft.SolverFoundation.Services Namespace