StandardSerializerLocator::GetSerializerFromFileName Method (String^)

 

Returns a serialized 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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public:
virtual IDomainModelSerializer^ GetSerializerFromFileName(
	String^ fileName
) sealed

Parameters

fileName
Type: System::String^

Name of the file to be deserialized, or the file extension.

Return Value

Type: Microsoft.VisualStudio.Modeling::IDomainModelSerializer^

A serializer that deserialize the model

The fileName parameter can be the filename, or just the file extension (with or without ".")

Return to top
Show: