Freigeben über


VSProject.Imports Property

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

Namespace:  VSLangProj
Assembly:  VSLangProj (in VSLangProj.dll)

Syntax

'Declaration
ReadOnly Property Imports As Imports
Imports Imports { get; }
property Imports^ Imports {
    Imports^ get ();
}
abstract Imports : Imports with get
function get Imports () : Imports

Property Value

Type: VSLangProj.Imports
Returns an Imports object collection.

Remarks

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

Examples

See the Imports.

.NET Framework Security

See Also

Reference

VSProject Interface

VSLangProj Namespace