ConfigurationElement.GetTransformedAssemblyString Method (String)

.NET Framework (current version)

Returns the transformed version of the specified assembly name.

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

protected virtual string GetTransformedAssemblyString(
	string assemblyName


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 null 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
Available since 4.0
Return to top