共用方式為


VSProject.Imports Property

Definition

Gets the Imports object associated with the project. For C# projects, the Imports property is set to Nothing (a null reference). Read-only.

public:
 property VSLangProj::Imports ^ Imports { VSLangProj::Imports ^ get(); };
[System.Runtime.InteropServices.DispId(11)]
public VSLangProj.Imports Imports { [System.Runtime.InteropServices.DispId(11)] get; }
[<System.Runtime.InteropServices.DispId(11)>]
[<get: System.Runtime.InteropServices.DispId(11)>]
member this.Imports : VSLangProj.Imports
Public ReadOnly Property Imports As Imports

Property Value

Returns an Imports object collection.

Attributes

Examples

See the Imports.

Remarks

C# projects do not have project imports. For C# projects, the value of Imports is Nothing (a null reference).

Applies to