ISerializerLocatorExtensions.GetDomainModelType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- locator
- ISerializerLocator
- targetNamespace
- String
Target namespace to resolve
Returns
The type of the corresponding domain model, or null if one could not be determined