ISerializerLocatorExtensions.GetDomainModelType Method

Definition

This method takes a target namespace string and return the corresponding domain model type

public:
[System::Runtime::CompilerServices::Extension]
 static Type ^ GetDomainModelType(Microsoft::VisualStudio::Modeling::ISerializerLocator ^ locator, System::String ^ targetNamespace);
public static Type GetDomainModelType (this Microsoft.VisualStudio.Modeling.ISerializerLocator locator, string targetNamespace);
static member GetDomainModelType : Microsoft.VisualStudio.Modeling.ISerializerLocator * string -> Type
<Extension()>
Public Function GetDomainModelType (locator As ISerializerLocator, targetNamespace As String) As Type

Parameters

targetNamespace
String

Target namespace to resolve

Returns

The type of the corresponding domain model, or null if one could not be determined

Applies to