Share via


ODataModelBuilder.RemoveStructuralType Method

Removes the type from the model.

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

Syntax

'Declaration
Public Overridable Function RemoveStructuralType ( _
    type As Type _
) As Boolean
'Usage
Dim instance As ODataModelBuilder 
Dim type As Type 
Dim returnValue As Boolean 

returnValue = instance.RemoveStructuralType(type)
public virtual bool RemoveStructuralType(
    Type type
)
public:
virtual bool RemoveStructuralType(
    Type^ type
)
abstract RemoveStructuralType : 
        type:Type -> bool  
override RemoveStructuralType : 
        type:Type -> bool
public function RemoveStructuralType(
    type : Type
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the type is present in the model and false otherwise.

See Also

Reference

ODataModelBuilder Class

System.Web.Http.OData.Builder Namespace