Compartir a través de


DomainXmlSerializerDirectory.GetSerializer Method

Gets the DomainClassXmlSerializer instance for the given domain class ID.

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

Syntax

'Declaración
Public Function GetSerializer ( _
    domainClassId As Guid _
) As DomainClassXmlSerializer
public DomainClassXmlSerializer GetSerializer(
    Guid domainClassId
)
public:
DomainClassXmlSerializer^ GetSerializer(
    Guid domainClassId
)
member GetSerializer : 
        domainClassId:Guid -> DomainClassXmlSerializer 
public function GetSerializer(
    domainClassId : Guid
) : DomainClassXmlSerializer

Parameters

  • domainClassId
    Type: System.Guid
    The ID for the domain class.

Return Value

Type: Microsoft.VisualStudio.Modeling.DomainClassXmlSerializer
The DomainClassXmlSerializer instance for the given DomainClassInfo, or null if there is no serializer for the given domain class ID.

.NET Framework Security

See Also

Reference

DomainXmlSerializerDirectory Class

Microsoft.VisualStudio.Modeling Namespace