ServiceBuildProvider.GetCustomString(CompilerResults) 方法

定义

生成要在编译后的程序集中保留的字符串。Generates a string to be persisted in the compiled assembly.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 override System::String ^ GetCustomString(System::CodeDom::Compiler::CompilerResults ^ results);
public override string GetCustomString (System.CodeDom.Compiler.CompilerResults results);
override this.GetCustomString : System.CodeDom.Compiler.CompilerResults -> string
Public Overrides Function GetCustomString (results As CompilerResults) As String

参数

results
CompilerResults

生成提供程序的虚拟路径的编译结果。The compilation results for the build provider's virtual path.

返回

String

一个要在生成环境中保留的字符串。A string to be persisted in the build environment.

适用于