Condividi tramite


Metodo SerializationExtensionMethods.SetSerializationLocation

Imposta il percorso in cui deve essere serializzata un'annotazione.

Spazio dei nomi  Microsoft.Data.Edm.Csdl
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Sintassi

'Dichiarazione
<ExtensionAttribute> _
Public Shared Sub SetSerializationLocation ( _
    annotation As IEdmVocabularyAnnotation, _
    model As IEdmModel, _
    location As Nullable(Of EdmVocabularyAnnotationSerializationLocation) _
)
'Utilizzo
Dim annotation As IEdmVocabularyAnnotation
Dim model As IEdmModel
Dim location As Nullable(Of EdmVocabularyAnnotationSerializationLocation)

annotation.SetSerializationLocation(model, _
    location)
public static void SetSerializationLocation(
    this IEdmVocabularyAnnotation annotation,
    IEdmModel model,
    Nullable<EdmVocabularyAnnotationSerializationLocation> location
)
[ExtensionAttribute]
public:
static void SetSerializationLocation(
    IEdmVocabularyAnnotation^ annotation, 
    IEdmModel^ model, 
    Nullable<EdmVocabularyAnnotationSerializationLocation> location
)
static member SetSerializationLocation : 
        annotation:IEdmVocabularyAnnotation * 
        model:IEdmModel * 
        location:Nullable<EdmVocabularyAnnotationSerializationLocation> -> unit 
public static function SetSerializationLocation(
    annotation : IEdmVocabularyAnnotation, 
    model : IEdmModel, 
    location : Nullable<EdmVocabularyAnnotationSerializationLocation>
)

Parametri

Nota sull'utilizzo

In Visual Basic e C# questo metodo può essere chiamato come metodo di istanza su qualsiasi oggetto di tipo IEdmVocabularyAnnotation. Quando si utilizza la sintassi del metodo di istanza per chiamare questo metodo, omettere il primo parametro. Per ulteriori informazioni, vedere https://msdn.microsoft.com/it-it/library/bb384936(v=vs.103) o https://msdn.microsoft.com/it-it/library/bb383977(v=vs.103).

Vedere anche

Riferimento

SerializationExtensionMethods Classe

Spazio dei nomi Microsoft.Data.Edm.Csdl