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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣言
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: System.String
Target 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.