Επεξεργασία

Κοινή χρήση μέσω


Configuration.AssemblyStringTransformer Property

Definition

Specifies a function delegate that is used to transform assembly strings in configuration files.

public:
 property Func<System::String ^, System::String ^> ^ AssemblyStringTransformer { Func<System::String ^, System::String ^> ^ get(); void set(Func<System::String ^, System::String ^> ^ value); };
public Func<string,string> AssemblyStringTransformer { get; set; }
member this.AssemblyStringTransformer : Func<string, string> with get, set
Public Property AssemblyStringTransformer As Func(Of String, String)

Property Value

A delegate that transforms type strings. The default value is null.

Remarks

This property enables a consumer of the .NET Framework configuration system to set a function delegate that is used to transform assembly strings found in configuration files. Visual Studio 2010 uses this property when a project is targeted for an earlier version of the .NET Framework. The function makes sure that assembly strings are formatted correctly for the targeted version of the .NET Framework when configuration files are updated.

Applies to

See also