Configuration.TypeStringTransformer Property
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.
Specifies a function delegate that is used to transform type strings in configuration files.
public:
property Func<System::String ^, System::String ^> ^ TypeStringTransformer { Func<System::String ^, System::String ^> ^ get(); void set(Func<System::String ^, System::String ^> ^ value); };
public Func<string,string> TypeStringTransformer { get; set; }
member this.TypeStringTransformer : Func<string, string> with get, set
Public Property TypeStringTransformer 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 type 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 type strings are formatted correctly for the targeted version of the .NET Framework when configuration files are updated.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈