ConfigurationElement.GetTransformedAssemblyString(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the transformed version of the specified assembly name.
protected:
virtual System::String ^ GetTransformedAssemblyString(System::String ^ assemblyName);
protected virtual string GetTransformedAssemblyString (string assemblyName);
abstract member GetTransformedAssemblyString : string -> string
override this.GetTransformedAssemblyString : string -> string
Protected Overridable Function GetTransformedAssemblyString (assemblyName As String) As String
Parameters
- assemblyName
- String
The name of the assembly.
Returns
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.
Remarks
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.