ISerializerLocator.GetSerializerFromFileName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a serializer that handles files of the specified type, or null if an appropriate serializer could not be found.
public:
Microsoft::VisualStudio::Modeling::IDomainModelSerializer ^ GetSerializerFromFileName(System::String ^ fileName);
public Microsoft.VisualStudio.Modeling.IDomainModelSerializer GetSerializerFromFileName (string fileName);
abstract member GetSerializerFromFileName : string -> Microsoft.VisualStudio.Modeling.IDomainModelSerializer
Public Function GetSerializerFromFileName (fileName As String) As IDomainModelSerializer
Parameters
- fileName
- String
Name of the file to be deserialized.
Returns
A serializer that can serialize the model
Remarks
The fileName parameter can be the filename, or just the file extension (with or without ".")