DomainXmlSerializerDirectory.GetSerializer Method
Gets the DomainClassXmlSerializer instance for the given domain class ID.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
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.GuidThe 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.