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
'Declaração
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
- 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.