XmlSchemaService Class

 

Contains a set of routines to assist XML schema discovery and compilation operations.

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

System::Object
  Microsoft.VisualStudio.XmlEditor::XmlSchemaService

[GuidAttribute("1A5ACA9F-DFC2-44d4-8E3D-A2ADAC944FAB")]
public ref class XmlSchemaService abstract 

NameDescription
System_CAPS_protmethodXmlSchemaService()

Initializes a new instance of the XmlSchemaService class.

NameDescription
System_CAPS_pubmethodCreateSchemaSetBuilder()

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.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetKnownSchemas()

Returns a list of the schema files.

System_CAPS_pubmethodGetKnownSchemas(Guid)

Returns a list of all the schema files that have been discovered in the specified location.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticGUID_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.

Return to top
Show: