Udostępnij za pośrednictwem


vsCMInfoLocation Enumeration

A constant indicating the abilities of the given code model object.

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

Syntax

'Declaration
Public Enumeration vsCMInfoLocation
'Usage
Dim instance As vsCMInfoLocation
public enum vsCMInfoLocation
public enum class vsCMInfoLocation
public enum vsCMInfoLocation

Members

Member name Description
vsCMInfoLocationProject Indicates if the code model element is located in the same project file. This is important when attempting to navigate to a specific code element.
vsCMInfoLocationExternal Information is obtained from external files. Information is available only from metadata, from inspecting a DLL, or from frozen sources (such as shipping MFC sources). You may be able to get a StartPoint and EditPoint, but you cannot edit them, and you cannot set properties or modify the text behind the code element.
vsCMInfoLocationNone No additional information is available. All you have is a code model object that has a name. By its context in the source, you might, for example, infer that the name should be a class or interface. Because the code model could not resolve the name to any real information, however, the object is otherwise useless.
vsCMInfoLocationVirtual Information is obtained from a virtual project.

See Also

Reference

EnvDTE Namespace

Other Resources

Discovering Code by Using the Code Model (Visual Basic)