CodeImport Interface
Models the use of statements that import namespaces.
Namespace: EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.dll)
Syntax
'Declaration
<GuidAttribute("0C9A256E-0FF9-4D4A-88E6-304ACF78225F")> _
Public Interface CodeImport _
Inherits CodeElement
'Usage
Dim instance As CodeImport
[GuidAttribute("0C9A256E-0FF9-4D4A-88E6-304ACF78225F")]
public interface CodeImport : CodeElement
[GuidAttribute(L"0C9A256E-0FF9-4D4A-88E6-304ACF78225F")]
public interface class CodeImport : CodeElement
public interface CodeImport extends CodeElement
Remarks
The import statement that is used depends on the language model that it targets. The object inherits from CodeElement.
Note
The values of code model elements such as classes, structs, functions, attributes, delegates, and so forth can be non-deterministic after making certain kinds of edits, meaning that their values cannot be relied upon to always remain the same. For more information, see the section Code Model Element Values Can Change in Discovering Code by Using the Code Model (Visual Basic).
See Also
Reference
Other Resources
How to: Compile and Run the Automation Object Model Code Examples