Configuration.AssemblyStringTransformer 屬性

定義

指定一個函式代理,用於轉換組建檔中的組合字串。

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)

屬性值

一個能轉換型別字串的代理。 預設值為 null

備註

此特性使 .NET Framework 組態系統的使用者能設定一個函式代理,用於轉換組建檔中的組合語言字串。 當專案針對較早期版本的 .NET 框架時,Visual Studio 2010 會使用此特性。 該函式確保組合字串在設定檔更新時,針對目標版本的 .NET 框架格式正確。

適用於