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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.