다음을 통해 공유


CompilationOptions.WithMainTypeName(String) 메서드

정의

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

매개 변수

mainTypeName
String

반환

적용 대상