XmlSchemaService Class
Contains a set of routines to assist XML schema discovery and compilation operations.
Assembly: Microsoft.VisualStudio.XmlEditor (in Microsoft.VisualStudio.XmlEditor.dll)
| Name | Description | |
|---|---|---|
![]() | XmlSchemaService() | Initializes a new instance of the XmlSchemaService class. |
| Name | Description | |
|---|---|---|
![]() | CreateSchemaSetBuilder() | Creates an instance of the XmlSchemaSetBuilder, which can be used to obtain a compiled XML schema set with all xsd:import and xsd:include schemas fully resolved. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetKnownSchemas() | Returns a list of the schema files. |
![]() | GetKnownSchemas(Guid) | Returns a list of all the schema files that have been discovered in the specified location. |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | GUID_SchemaCache | Defines a GUID that can be passed to GetKnownSchemas in order to retrieve all schemas located in the schema cache. |
This class is exposed as a Visual Studio service by the XML Editor. XML IntelliSense and visualization services can be built on the foundation of this class.
The schema services are designed to be used concurrently by multiple threads. Methods of the XmlSchemaService class are thread-safe, which means that multiple threads can call GetKnownSchemas and CreateSchemaSetBuilder concurrently. However, the XmlSchemaSetBuilder class is not thread-safe, which means that callers must ensure that only one thread at a time accesses XmlSchemaSetBuilder properties and methods.
This type is thread safe.



