Compartir a través de


vsCMWhere Enumeration

Used by the StartPointOf, EndPointOf, and Location properties.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

'Declaration
Public Enumeration vsCMWhere
public enum vsCMWhere
public enum class vsCMWhere
type vsCMWhere
public enum vsCMWhere

Members

Member name Description
vsCMWhereDeclaration The declaration of the parent object.
vsCMWhereDefault Avoids errors by searching for either a definition or declaration.
vsCMWhereDefinition The definition of the parent object.
vsCMWhereInvalid Enumeration is uninitialized.

Remarks

Use the vsCMWhereDefault value when you are uncertain if the parent object has both a definition and a declaration. This value causes the method to first search for a definition. If no definition is found, the method automatically searches for a declaration. If neither a definition nor declaration is found, the method fails.

Note

The vsCMWhereInvalid constant indicates that the enumeration has not been previously initialized by the programmer. The Visual C++ code model library does not use this value.

See Also

Reference

Microsoft.VisualStudio.VCCodeModel Namespace