Jaa


SerializationExtensionMethods.SetIsSerializedAsElement Method

Definition

Sets an annotation indicating if the value should be serialized as an element.

public static void SetIsSerializedAsElement (this Microsoft.OData.Edm.Vocabularies.IEdmValue value, Microsoft.OData.Edm.IEdmModel model, bool isSerializedAsElement);
static member SetIsSerializedAsElement : Microsoft.OData.Edm.Vocabularies.IEdmValue * Microsoft.OData.Edm.IEdmModel * bool -> unit
<Extension()>
Public Sub SetIsSerializedAsElement (value As IEdmValue, model As IEdmModel, isSerializedAsElement As Boolean)

Parameters

value
IEdmValue

Value to set the annotation on.

model
IEdmModel

Model containing the value.

isSerializedAsElement
Boolean

Value indicating if the value should be serialized as an element.

Applies to