SerializationExtensionMethods.SetIsValueExplicit 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.
Sets an annotation indicating whether the value of an enum member should be explicitly serialized.
public static void SetIsValueExplicit (this Microsoft.OData.Edm.IEdmEnumMember member, Microsoft.OData.Edm.IEdmModel model, bool? isExplicit);
static member SetIsValueExplicit : Microsoft.OData.Edm.IEdmEnumMember * Microsoft.OData.Edm.IEdmModel * Nullable<bool> -> unit
<Extension()>
Public Sub SetIsValueExplicit (member As IEdmEnumMember, model As IEdmModel, isExplicit As Nullable(Of Boolean))
Parameters
- member
- IEdmEnumMember
Member to set the annotation on.
- model
- IEdmModel
Model containing the member.