Share via


ISerializerLocator.GetSerializer Method

Returns a serializer that handles the specified type of domain model, 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 GetSerializer ( _
    domainModelId As Guid _
) As IDomainModelSerializer
IDomainModelSerializer GetSerializer(
    Guid domainModelId
)
IDomainModelSerializer^ GetSerializer(
    Guid domainModelId
)
abstract GetSerializer : 
        domainModelId:Guid -> IDomainModelSerializer
function GetSerializer(
    domainModelId : Guid
) : IDomainModelSerializer

Parameters

  • domainModelId
    Type: Guid

    Id of the domain model to be serialized.

Return Value

Type: Microsoft.VisualStudio.Modeling.IDomainModelSerializer
A serializer that can serialize the type of model or null if one could not be located

.NET Framework Security

See Also

Reference

ISerializerLocator Interface

Microsoft.VisualStudio.Modeling Namespace