Freigeben über


StandardSerializerLocator.GetSerializer Method

Returns a serializer that handles files of the specified type, or null if an appropriate serializer could not be found.

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

Syntax

'Declaration
Public Function GetSerializer ( _
    domainModelId As Guid _
) As IDomainModelSerializer
public IDomainModelSerializer GetSerializer(
    Guid domainModelId
)
public:
virtual IDomainModelSerializer^ GetSerializer(
    Guid domainModelId
) sealed
abstract GetSerializer : 
        domainModelId:Guid -> IDomainModelSerializer  
override GetSerializer : 
        domainModelId:Guid -> IDomainModelSerializer
public final function GetSerializer(
    domainModelId : Guid
) : IDomainModelSerializer

Parameters

Return Value

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

Implements

ISerializerLocator.GetSerializer(Guid)

.NET Framework Security

See Also

Reference

StandardSerializerLocator Class

Microsoft.VisualStudio.Modeling Namespace