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
- domainModelId
Type: System.Guid
Return Value
Type: Microsoft.VisualStudio.Modeling.IDomainModelSerializer
A serializer that deserialize the model
Implements
ISerializerLocator.GetSerializer(Guid)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.