ISerializerLocator.GetSerializerFromNamespace Method
Returns a serializer that handles the specified target namespace or null if an appropriate serializer could not be found.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Function GetSerializerFromNamespace ( _
targetNamespace As String _
) As IDomainModelSerializer
IDomainModelSerializer GetSerializerFromNamespace(
string targetNamespace
)
IDomainModelSerializer^ GetSerializerFromNamespace(
String^ targetNamespace
)
abstract GetSerializerFromNamespace :
targetNamespace:string -> IDomainModelSerializer
function GetSerializerFromNamespace(
targetNamespace : String
) : IDomainModelSerializer
Parameters
targetNamespace
Type: StringTarget namespace to resolve
Return Value
Type: Microsoft.VisualStudio.Modeling.IDomainModelSerializer
A serializer that can serialize the model
.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.