ISerializerLocator.GetSerializerFromFileName Method
Returns a serializer that handles files of the specified type, 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 GetSerializerFromFileName ( _
fileName As String _
) As IDomainModelSerializer
IDomainModelSerializer GetSerializerFromFileName(
string fileName
)
IDomainModelSerializer^ GetSerializerFromFileName(
String^ fileName
)
abstract GetSerializerFromFileName :
fileName:string -> IDomainModelSerializer
function GetSerializerFromFileName(
fileName : String
) : IDomainModelSerializer
Parameters
- fileName
Type: System.String
Name of the file to be deserialized.
Return Value
Type: Microsoft.VisualStudio.Modeling.IDomainModelSerializer
A serializer that can serialize the model
Remarks
The fileName parameter can be the filename, or just the file extension (with or without ".")
.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.