StandardSerializerLocator.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 serialized that handles files of the specified type, or null if an appropriate serializer could not be found.
public:
virtual Microsoft::VisualStudio::Modeling::IDomainModelSerializer ^ GetSerializerFromFileName(System::String ^ fileName);
public Microsoft.VisualStudio.Modeling.IDomainModelSerializer GetSerializerFromFileName (string fileName);
abstract member GetSerializerFromFileName : string -> Microsoft.VisualStudio.Modeling.IDomainModelSerializer
override this.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 deserialize the model
Implements
Remarks
The fileName parameter can be the filename, or just the file extension (with or without ".")