This documentation is archived and is not being maintained.

ConfigurationElement.GetTransformedAssemblyString Method

Returns the transformed version of the specified assembly name.

Namespace:  System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

abstract GetTransformedAssemblyString : 
        assemblyName:string -> string 
override GetTransformedAssemblyString : 
        assemblyName:string -> string 


Type: System.String
The name of the assembly.

Return Value

Type: System.String
The transformed version of the assembly name. If no transformer is available, the assemblyName parameter value is returned unchanged. The TypeStringTransformer property is a null reference (Nothing in Visual Basic) if no transformer is available.

The SerializeElement method and the SerializeToXmlElement method call this method in order to transform an assembly name when an earlier version of the .NET Framework is targeted.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.