Jaa


EdmEnumType.AddMember Method

Definition

Overloads

AddMember(IEdmEnumMember)

Adds a new member to this enum type.

AddMember(String, IEdmEnumMemberValue)

Creates and adds a new member to this enum type.

AddMember(IEdmEnumMember)

Adds a new member to this enum type.

public void AddMember (Microsoft.OData.Edm.IEdmEnumMember member);
member this.AddMember : Microsoft.OData.Edm.IEdmEnumMember -> unit
Public Sub AddMember (member As IEdmEnumMember)

Parameters

member
IEdmEnumMember

The member to add.

Applies to

AddMember(String, IEdmEnumMemberValue)

Creates and adds a new member to this enum type.

public Microsoft.OData.Edm.EdmEnumMember AddMember (string name, Microsoft.OData.Edm.IEdmEnumMemberValue value);
member this.AddMember : string * Microsoft.OData.Edm.IEdmEnumMemberValue -> Microsoft.OData.Edm.EdmEnumMember
Public Function AddMember (name As String, value As IEdmEnumMemberValue) As EdmEnumMember

Parameters

name
String

Name of the member.

value
IEdmEnumMemberValue

Value of the member.

Returns

Created member.

Applies to