Share via


CompilationOptions.MainTypeName Property

Definition

The full name of a type that declares static Main method. Must be a valid non-generic namespace-qualified name. Null if any static Main method is a candidate for an entry point.

public:  property System::String ^ MainTypeName {  public:
System::String ^ get(); protected:
 void set(System::String ^ value); };
public string MainTypeName { get; protected set; }
public string? MainTypeName { get; protected set; }
member this.MainTypeName : string with get, set
Public Property MainTypeName As String

Property Value

Applies to