Share via


ODataModelBuilder.RemoveSingleton Method (String)

 

Removes the singleton from the model.

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

Syntax

public virtual bool RemoveSingleton(
    string name
)
public:
virtual bool RemoveSingleton(
    String^ name
)
abstract RemoveSingleton : 
        name:string -> bool
override RemoveSingleton : 
        name:string -> bool
Public Overridable Function RemoveSingleton (
    name As String
) As Boolean

Parameters

  • name
    Type: System.String

    The name of the singleton to be removed.

Return Value

Type: System.Boolean

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

See Also

ODataModelBuilder Class
System.Web.OData.Builder Namespace

Return to top