Share via


ISerializerLocator.GetSerializerFromNamespace Method

Returns a serializer that handles the specified target namespace or null if an appropriate serializer could not be found.

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

Syntax

'Declaration
Function GetSerializerFromNamespace ( _
    targetNamespace As String _
) As IDomainModelSerializer
IDomainModelSerializer GetSerializerFromNamespace(
    string targetNamespace
)
IDomainModelSerializer^ GetSerializerFromNamespace(
    String^ targetNamespace
)
abstract GetSerializerFromNamespace : 
        targetNamespace:string -> IDomainModelSerializer
function GetSerializerFromNamespace(
    targetNamespace : String
) : IDomainModelSerializer

Parameters

  • targetNamespace
    Type: String

    Target namespace to resolve

Return Value

Type: Microsoft.VisualStudio.Modeling.IDomainModelSerializer
A serializer that can serialize the model

.NET Framework Security

See Also

Reference

ISerializerLocator Interface

Microsoft.VisualStudio.Modeling Namespace