SerializationExtensionMethods.IsValueExplicit Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.