SerializationExtensionMethods.IsSerializedAsElement 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 if the value should be serialized as an element.
public static bool IsSerializedAsElement (this Microsoft.OData.Edm.Vocabularies.IEdmValue value, Microsoft.OData.Edm.IEdmModel model);
static member IsSerializedAsElement : Microsoft.OData.Edm.Vocabularies.IEdmValue * Microsoft.OData.Edm.IEdmModel -> bool
<Extension()>
Public Function IsSerializedAsElement (value As IEdmValue, model As IEdmModel) As Boolean
Parameters
- value
- IEdmValue
Value the annotation is on.
- model
- IEdmModel
Model containing the value.
Returns
Value indicating if the string should be serialized as an element.