DslDefinitionModelSerializationHelperBase.ResolveSchema 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.
Attempts to resolve the supplied schema namespace
protected:
static bool ResolveSchema(System::String ^ targetNamespace, System::Xml::Schema::XmlSchemaSet ^ schemaSet, Microsoft::VisualStudio::Modeling::ISchemaResolver ^ schemaResolver, System::Xml::XmlReader ^ reader, Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext);
protected static bool ResolveSchema (string targetNamespace, System.Xml.Schema.XmlSchemaSet schemaSet, Microsoft.VisualStudio.Modeling.ISchemaResolver schemaResolver, System.Xml.XmlReader reader, Microsoft.VisualStudio.Modeling.SerializationContext serializationContext);
static member ResolveSchema : string * System.Xml.Schema.XmlSchemaSet * Microsoft.VisualStudio.Modeling.ISchemaResolver * System.Xml.XmlReader * Microsoft.VisualStudio.Modeling.SerializationContext -> bool
Protected Shared Function ResolveSchema (targetNamespace As String, schemaSet As XmlSchemaSet, schemaResolver As ISchemaResolver, reader As XmlReader, serializationContext As SerializationContext) As Boolean
Parameters
- targetNamespace
- String
- schemaSet
- XmlSchemaSet
- schemaResolver
- ISchemaResolver
- reader
- XmlReader
- serializationContext
- SerializationContext
Returns
A flag indicating whether the schema was resolved or not
Remarks
If the schema can be resolved it is added to the supplied schema set. Otherwise, a warning will be written to serializationContext.