Share via


ODataModelBuilder.RemoveStructuralType Method (Type)

 

Removes the type from the model.

Namespace:   System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

public virtual bool RemoveStructuralType(
    Type type
)
public:
virtual bool RemoveStructuralType(
    Type^ type
)
abstract RemoveStructuralType : 
        type:Type -> bool
override RemoveStructuralType : 
        type:Type -> bool
Public Overridable Function RemoveStructuralType (
    type As Type
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if the type is present in the model and false otherwise.

See Also

ODataModelBuilder Class
System.Web.Http.OData.Builder Namespace

Return to top