StandardSerializerLocator.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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

声明
Public Function GetSerializerFromNamespace ( _
    targetNamespace As String _
) As IDomainModelSerializer
public IDomainModelSerializer GetSerializerFromNamespace(
    string targetNamespace
)
public:
virtual IDomainModelSerializer^ GetSerializerFromNamespace(
    String^ targetNamespace
) sealed
abstract GetSerializerFromNamespace : 
        targetNamespace:string -> IDomainModelSerializer 
override GetSerializerFromNamespace : 
        targetNamespace:string -> IDomainModelSerializer 
public final function GetSerializerFromNamespace(
    targetNamespace : String
) : IDomainModelSerializer

Parameters

  • targetNamespace
    Type: System.String
    Target namespace to resolve

Return Value

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

Implements

ISerializerLocator.GetSerializerFromNamespace(String)

.NET Framework Security

See Also

Reference

StandardSerializerLocator Class

Microsoft.VisualStudio.Modeling Namespace