IDebugSettingsCallback2::GetEEMetricGuid

Retrieves the unique identifier for a expression evaluator metric given its name.

HRESULT GetEEMetricGuid(
      REFGUID guidLang,
      REFGUID guidVendor,
      LPCWSTR pszMetric,
      GUID*   pguidValue
);
HRESULT GetEEMetricGuid(
      ref Guid guidLang,
      ref Guid guidVendor,
      string   pszMetric,
      out Guid pguidValue
);

Parameters

  • guidLang
    [in] Unique identifier of the programming language.

  • guidVendor
    [in] Unique identifier of the vendor.

  • pszMetric
    [in] Name of the metric.

  • pguidValue
    [out] Returns the unique identifier of the metric.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

Concepts

IDebugSettingsCallback2