Share via


EnumTypeConfiguration<TEnumType>.RemoveMember Method (TEnumType)

 

Excludes a member from the type.

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

Syntax

public virtual void RemoveMember(
    TEnumType member
)
public:
virtual void RemoveMember(
    TEnumType member
)
abstract RemoveMember : 
        member:'TEnumType -> unit
override RemoveMember : 
        member:'TEnumType -> unit
Public Overridable Sub RemoveMember (
    member As TEnumType
)

Parameters

  • member
    Type: TEnumType

    The member being excluded.

Remarks

This method is used to exclude members from the enum type that would have been added by convention during model discovery.

See Also

EnumTypeConfiguration<TEnumType> Class
System.Web.OData.Builder Namespace

Return to top