Share via


SerializationUtilities.ResolveDomainModels Method

Resolves XML namespace declarations to domain models and loads the domain models into the store.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Shared Sub ResolveDomainModels ( _
    reader As XmlReader, _
    serializerLocator As ISerializerLocator, _
    store As Store _
)
public static void ResolveDomainModels(
    XmlReader reader,
    ISerializerLocator serializerLocator,
    Store store
)
public:
static void ResolveDomainModels(
    XmlReader^ reader, 
    ISerializerLocator^ serializerLocator, 
    Store^ store
)
static member ResolveDomainModels : 
        reader:XmlReader * 
        serializerLocator:ISerializerLocator * 
        store:Store -> unit
public static function ResolveDomainModels(
    reader : XmlReader, 
    serializerLocator : ISerializerLocator, 
    store : Store
)

Parameters

  • reader
    Type: XmlReader

    The XML reader being used to load the model

Remarks

Extracts the XML namespace declrations from the current node pointed to by the supplied reader and attempts to find the corresponding domain model type. Loads all located domain models into the store.

.NET Framework Security

See Also

Reference

SerializationUtilities Class

Microsoft.VisualStudio.Modeling Namespace