Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Function GetSerializerFromFileName ( _
fileName As String _
) As IDomainModelSerializer
public IDomainModelSerializer GetSerializerFromFileName(
string fileName
)
public:
virtual IDomainModelSerializer^ GetSerializerFromFileName(
String^ fileName
) sealed
abstract GetSerializerFromFileName :
fileName:string -> IDomainModelSerializer
override GetSerializerFromFileName :
fileName:string -> IDomainModelSerializer
public final function GetSerializerFromFileName(
fileName : String
) : IDomainModelSerializer
Parameters
fileName
Type: StringName of the file to be deserialized, or the file extension.
Return Value
Type: Microsoft.VisualStudio.Modeling.IDomainModelSerializer
A serializer that deserialize the model
Implements
ISerializerLocator.GetSerializerFromFileName(String)
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.