共用方式為


CSharpCompilationOptions.WithModuleName(String) 方法

定義

public:
 Microsoft::CodeAnalysis::CSharp::CSharpCompilationOptions ^ WithModuleName(System::String ^ moduleName);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions WithModuleName (string moduleName);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions WithModuleName (string? moduleName);
override this.WithModuleName : string -> Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
Public Function WithModuleName (moduleName As String) As CSharpCompilationOptions

參數

moduleName
String

傳回

適用於