Jaa


SerializationExtensionMethods.GetSerializationLocation Method

Definition

Gets the location an annotation should be serialized in.

public static Microsoft.OData.Edm.Csdl.EdmVocabularyAnnotationSerializationLocation? GetSerializationLocation (this Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation annotation, Microsoft.OData.Edm.IEdmModel model);
static member GetSerializationLocation : Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation * Microsoft.OData.Edm.IEdmModel -> Nullable<Microsoft.OData.Edm.Csdl.EdmVocabularyAnnotationSerializationLocation>
<Extension()>
Public Function GetSerializationLocation (annotation As IEdmVocabularyAnnotation, model As IEdmModel) As Nullable(Of EdmVocabularyAnnotationSerializationLocation)

Parameters

annotation
IEdmVocabularyAnnotation

Reference to the calling annotation.

model
IEdmModel

Model containing the annotation.

Returns

The location the annotation should be serialized at.

Applies to