Condividi tramite


SerializationExtensionMethods.SetSerializationLocation Metodo

Definizione

Imposta la posizione in cui deve essere serializzata un'annotazione.

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))

Parametri

annotation
IEdmVocabularyAnnotation

Annotazione per cui viene specificato il percorso.

model
IEdmModel

Modello contenente l'annotazione.

location
Nullable<EdmVocabularyAnnotationSerializationLocation>

Percorso in cui deve essere visualizzata l'annotazione.

Si applica a