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