XmlSchemaSetBuilder Class

 

Builds a self-contained set of schemas that will be compiled as a unit.

Namespace:   Microsoft.VisualStudio.XmlEditor
Assembly:  Microsoft.VisualStudio.XmlEditor (in Microsoft.VisualStudio.XmlEditor.dll)

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.XmlEditor.XmlSchemaSetBuilder

Syntax

public abstract class XmlSchemaSetBuilder
public ref class XmlSchemaSetBuilder abstract 
[<AbstractClass>]
type XmlSchemaSetBuilder = class end
Public MustInherit Class XmlSchemaSetBuilder

Constructors

Name Description
System_CAPS_protmethod XmlSchemaSetBuilder()

Initializes a new instance of the XmlSchemaSetBuilder class.

Properties

Name Description
System_CAPS_pubproperty Candidates

Gets or sets a list of XmlSchemaReference objects that represent schemas that import a target namespace.

System_CAPS_pubproperty CompiledSet

Gets the T:System.Xml.XmlSchemaSet object that results form a call to the Compile method.

System_CAPS_pubproperty Errors

Gets a list of Exception objects.

System_CAPS_pubproperty ResolvedSet

Gets or sets a list of XmlSchemaReference objects that represent a set of schemas that should be compiled as a unit.

System_CAPS_pubproperty Sources

Gets or sets a list of XmlSchemaReference objects that represent schemas.

Methods

Name Description
System_CAPS_pubmethod Compile()

Resolves source and candidate locations to find the set of schemas that should be compiled as a unit. This method also compiles the T:System.Xml.XmlSchemaSet from the resulting set of schemas.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

The XmlSchemaSetBuilder maintains a cache of recently assembled sets, so that repeated calls to Compile will not cause a full rebuild unless Compile detects that the set needs to change.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.VisualStudio.XmlEditor Namespace

Return to top