Share via


EnumTypeConfiguration<TEnumType>.Member Method (TEnumType)

 

Adds a required enum member to the EDM type.

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

Syntax

public EnumMemberConfiguration Member(
    TEnumType enumMember
)
public:
EnumMemberConfiguration^ Member(
    TEnumType enumMember
)
member Member : 
        enumMember:'TEnumType -> EnumMemberConfiguration
Public Function Member (
    enumMember As TEnumType
) As EnumMemberConfiguration

Parameters

  • enumMember
    Type: TEnumType

    The member being added.

Return Value

Type: System.Web.OData.Builder.EnumMemberConfiguration

A configuration object that can be used to further configure the type.

See Also

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

Return to top