共用方式為


CompilationOptions.WithModuleName(String) 方法

定義

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

參數

moduleName
String

傳回

適用於