SerializationExtensionMethods.SetSerializationLocation 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 the location an annotation should be serialized in.
public static void SetSerializationLocation (this Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation annotation, Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Csdl.EdmVocabularyAnnotationSerializationLocation? location);
static member SetSerializationLocation : Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation * Microsoft.OData.Edm.IEdmModel * Nullable<Microsoft.OData.Edm.Csdl.EdmVocabularyAnnotationSerializationLocation> -> unit
<Extension()>
Public Sub SetSerializationLocation (annotation As IEdmVocabularyAnnotation, model As IEdmModel, location As Nullable(Of EdmVocabularyAnnotationSerializationLocation))
Parameters
- annotation
- IEdmVocabularyAnnotation
The annotation the location is being specified for.
- model
- IEdmModel
Model containing the annotation.
The location the annotation should appear.