Jaa


SerializationExtensionMethods.SetSerializationLocation Method

Definition

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.

location
Nullable<EdmVocabularyAnnotationSerializationLocation>

The location the annotation should appear.

Applies to