XmlSchemaSetBuilder.ResolvedSet Property

 

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

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

Syntax

public abstract IList<XmlSchemaReference> ResolvedSet { get; }
public:
property IList<XmlSchemaReference^>^ ResolvedSet {
    virtual IList<XmlSchemaReference^>^ get() abstract;
}
abstract ResolvedSet : IList<XmlSchemaReference> with get
Public MustOverride ReadOnly Property ResolvedSet As IList(Of XmlSchemaReference)

Property Value

Type: System.Collections.Generic.IList<XmlSchemaReference>

A list of XmlSchemaReference objects that represent a set of schemas that should be compiled as a unit.

Remarks

When Compile is called, the XmlSchemaReference list is cleared. Compile then discovers a set of schemas that should be compiled as a unit and adds them to the XmlSchemaReference list.

The object identity and order of the locations is typically the same across multiple calls to Compile, as long as the list is exactly the same (the same locations with identical content). This allows callers to easily detect whether the set is the same as it was the last time they asked for it.

Chameleon schemas (that is, schemas without a target namespace) are reported with their target namespace equal to the target namespace of the including schema. Therefore, multiple XmlSchemaReference objects can result from one chameleon schema if it is used in multiple target namespace contexts.

See Also

XmlSchemaSetBuilder Class
Microsoft.VisualStudio.XmlEditor Namespace

Return to top