ISerializerLocator.GetSerializer Method
Returns a serializer that handles the specified type of domain model, or null if an appropriate serializer could not be found.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Dichiarazione
Function GetSerializer ( _
domainModelId As Guid _
) As IDomainModelSerializer
IDomainModelSerializer GetSerializer(
Guid domainModelId
)
IDomainModelSerializer^ GetSerializer(
Guid domainModelId
)
abstract GetSerializer :
domainModelId:Guid -> IDomainModelSerializer
function GetSerializer(
domainModelId : Guid
) : IDomainModelSerializer
Parameters
- domainModelId
Type: System.Guid
Id of the domain model to be serialized.
Return Value
Type: Microsoft.VisualStudio.Modeling.IDomainModelSerializer
A serializer that can serialize the type of model or null if one could not be located
.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.