Share via


CodeModelLanguageConstants Class

A constant specifying the language used to author the code.

Inheritance Hierarchy

System.Object
  EnvDTE.CodeModelLanguageConstants

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

Syntax

'Declaration
<GuidAttribute("D83C7FAD-BC3A-46BB-9BFC-C0091329626D")> _
Public MustInherit Class CodeModelLanguageConstants
[GuidAttribute("D83C7FAD-BC3A-46BB-9BFC-C0091329626D")]
public abstract class CodeModelLanguageConstants
[GuidAttribute(L"D83C7FAD-BC3A-46BB-9BFC-C0091329626D")]
public ref class CodeModelLanguageConstants abstract
[<AbstractClass>]
[<GuidAttribute("D83C7FAD-BC3A-46BB-9BFC-C0091329626D")>]
type CodeModelLanguageConstants =  class end
public abstract class CodeModelLanguageConstants

The CodeModelLanguageConstants type exposes the following members.

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member vsCMLanguageCSharp Visual C# constant.
Public fieldStatic member vsCMLanguageIDL Microsoft IDL constant.
Public fieldStatic member vsCMLanguageMC Visual C++ constant.
Public fieldStatic member vsCMLanguageVB Visual Basic constant.
Public fieldStatic member vsCMLanguageVC Visual C++ constant.

Top

Remarks

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).

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

EnvDTE Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples

Discovering Code by Using the Code Model (Visual Basic)

Discovering Code by Using the Code Model (Visual C#)

Discovering Code by Using the Code Model (Visual Basic)