Share via


SerializationExtensionMethods.IsSerializedAsElement Method

Definition

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.

Applies to