ConfigurationElement.GetTransformedTypeString Method (String)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the transformed version of the specified type name.

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

protected virtual string GetTransformedTypeString(
	string typeName


Type: System.String

The name of the type.

Return Value

Type: System.String

The transformed version of the specified type name. If no transformer is available, the typeName 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 a type name when an earlier version of the .NET Framework is targeted.

.NET Framework
Available since 4.0
Return to top