CodeTypeRef::TypeKind Property
Gets the base type of the CodeTypeRef.
Assembly: EnvDTE (in EnvDTE.dll)
TypeKind returns the kind of the type, for example, whether it is a .NET Framework type, a type reference (such as a class, interface, and so forth), or an array type.
When the type is an array or pointer, ElementType is the CodeTypeRef object for the array elements or the target of the pointer. For language-specific modeling, the type is vsCMTypeRefOther, and you must check the language of Parent to discover a more specific interface for which you can query interface (QI).
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). |
