共用方式為


VisualBasicCompilationOptions.RootNamespace Property

Definition

Gets the default namespace for all source code in the project. Corresponds to the "RootNamespace" project option or the "/rootnamespace" command line option.

public:
 property System::String ^ RootNamespace { System::String ^ get(); };
public string RootNamespace { get; }
member this.RootNamespace : string
Public ReadOnly Property RootNamespace As String

Property Value

The default namespace.

Applies to