共用方式為


ProjectProperties.DefaultNamespace Property

Definition

This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.

public:
 property System::String ^ DefaultNamespace { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ DefaultNamespace { Platform::String ^ get(); void set(Platform::String ^ value); };
[System.Runtime.InteropServices.DispId(10068)]
public string DefaultNamespace { [System.Runtime.InteropServices.DispId(10068)] get; [System.Runtime.InteropServices.DispId(10068)] set; }
[<System.Runtime.InteropServices.DispId(10068)>]
[<get: System.Runtime.InteropServices.DispId(10068)>]
[<set: System.Runtime.InteropServices.DispId(10068)>]
member this.DefaultNamespace : string with get, set
Public Property DefaultNamespace As String

Property Value

Attributes

Remarks

External components can access these properties through the Properties collection for the appropriate Visual Studio automation object. (That is, ProjectItem for project files and folders, Project for projects, and Configuration for configurations). The property names for the members of this type can be used as an indexer into the Properties collection. For more information about accessing project properties through automation, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.

Applies to