DslDefinitionModelSerializationHelperBase.ResolveSchema Method

Attempts to resolve the supplied schema namespace

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
Protected Shared Function ResolveSchema ( _
    targetNamespace As String, _
    schemaSet As XmlSchemaSet, _
    schemaResolver As ISchemaResolver, _
    reader As XmlReader, _
    serializationContext As SerializationContext _
) As Boolean
protected static bool ResolveSchema(
    string targetNamespace,
    XmlSchemaSet schemaSet,
    ISchemaResolver schemaResolver,
    XmlReader reader,
    SerializationContext serializationContext
)
protected:
static bool ResolveSchema(
    String^ targetNamespace, 
    XmlSchemaSet^ schemaSet, 
    ISchemaResolver^ schemaResolver, 
    XmlReader^ reader, 
    SerializationContext^ serializationContext
)
static member ResolveSchema : 
        targetNamespace:string * 
        schemaSet:XmlSchemaSet * 
        schemaResolver:ISchemaResolver * 
        reader:XmlReader * 
        serializationContext:SerializationContext -> bool
protected static function ResolveSchema(
    targetNamespace : String, 
    schemaSet : XmlSchemaSet, 
    schemaResolver : ISchemaResolver, 
    reader : XmlReader, 
    serializationContext : SerializationContext
) : boolean

Parameters

  • targetNamespace
    Type: String
  • schemaSet
    Type: XmlSchemaSet
  • reader
    Type: XmlReader

Return Value

Type: Boolean
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.

.NET Framework Security

See Also

Reference

DslDefinitionModelSerializationHelperBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace