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 | |
---|---|---|
XmlSchemaSetBuilder() | Initializes a new instance of the XmlSchemaSetBuilder class. |
Properties
Name | Description | |
---|---|---|
Candidates | Gets or sets a list of XmlSchemaReference objects that represent schemas that import a target namespace. |
|
CompiledSet | Gets the T:System.Xml.XmlSchemaSet object that results form a call to the Compile method. |
|
Errors | Gets a list of Exception objects. |
|
ResolvedSet | Gets or sets a list of XmlSchemaReference objects that represent a set of schemas that should be compiled as a unit. |
|
Sources | Gets or sets a list of XmlSchemaReference objects that represent schemas. |
Methods
Name | Description | |
---|---|---|
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. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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