DkmLanguage Class

Definition

Describes a programming language.

public ref class DkmLanguage
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmLanguage
[Windows::Foundation::Metadata::WebHostHidden]
class DkmLanguage
[System.Runtime.InteropServices.Guid("7dbbd573-0a29-3ba3-6f5d-42c8faf933e0")]
public class DkmLanguage
[<System.Runtime.InteropServices.Guid("7dbbd573-0a29-3ba3-6f5d-42c8faf933e0")>]
type DkmLanguage = class
Public Class DkmLanguage
Inheritance
DkmLanguage
Attributes

Properties

Id

LanguageId/VendorId pair for this DkmLanguage object. For the default language, both of these values will be Guid.Empty. For all other languages, both of these values are non-zero.

Name

Name of the programming language (ex: C++). This string will appear in the call stack window.

Methods

Create(String, DkmCompilerId)

Create a new DkmLanguage object instance.

GetEEMetricFile(String)

Reads a file path as a metric of the given name for the expression evaluator of the given language. Then, reads the entire contents of the file, on the Visual Studio computer, and returns the contents as a string.

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

GetLanguageSettings(DkmLanguageRegistrySetting[])

Reads language-specific from the registry. The settings are stored under HKLM\Software\Microsoft\VisualStudio\15.0\AD7Metrics\ExpressionEvaluator[Languag Guid][Vendor Guid].

GetLanguageSettings(DkmWorkList, DkmCompletionRoutine<DkmGetLanguageSettingsAsyncResult>)

Reads language-specific from the registry. The settings are stored under HKLM\Software\Microsoft\VisualStudio\15.0\AD7Metrics\ExpressionEvaluator[Languag Guid][Vendor Guid].

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

Applies to