Share via


SerializationExtensionMethods.IsValueExplicit Method

Definition

Gets an annotation indicating whether the value of an enum member should be explicitly serialized.

public static bool? IsValueExplicit (this Microsoft.OData.Edm.IEdmEnumMember member, Microsoft.OData.Edm.IEdmModel model);
static member IsValueExplicit : Microsoft.OData.Edm.IEdmEnumMember * Microsoft.OData.Edm.IEdmModel -> Nullable<bool>
<Extension()>
Public Function IsValueExplicit (member As IEdmEnumMember, model As IEdmModel) As Nullable(Of Boolean)

Parameters

member
IEdmEnumMember

The member the annotation is on.

model
IEdmModel

Model containing the member.

Returns

Whether the member should have its value serialized.

Applies to