SerializationExtensionMethods.GetSchemaNamespace 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 schema an annotation should be serialized in.
public static string GetSchemaNamespace (this Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation annotation, Microsoft.OData.Edm.IEdmModel model);
static member GetSchemaNamespace : Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation * Microsoft.OData.Edm.IEdmModel -> string
<Extension()>
Public Function GetSchemaNamespace (annotation As IEdmVocabularyAnnotation, model As IEdmModel) As String
Parameters
- annotation
- IEdmVocabularyAnnotation
Reference to the calling annotation.
- model
- IEdmModel
Model containing the annotation.
Returns
Name of the schema the annotation belongs to.