CompilationOptions.MainTypeName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.