SerializationExtensionMethods.SetIsSerializedAsElement 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 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.