共用方式為


ISerializerLocator.GetSerializer(Guid) Method

Definition

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

public:
 Microsoft::VisualStudio::Modeling::IDomainModelSerializer ^ GetSerializer(Guid domainModelId);
public Microsoft.VisualStudio.Modeling.IDomainModelSerializer GetSerializer (Guid domainModelId);
abstract member GetSerializer : Guid -> Microsoft.VisualStudio.Modeling.IDomainModelSerializer
Public Function GetSerializer (domainModelId As Guid) As IDomainModelSerializer

Parameters

domainModelId
Guid

Id of the domain model to be serialized.

Returns

A serializer that can serialize the type of model or null if one could not be located

Applies to