Share via


IDebugSettingsCallback2::GetEEMetricString

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Retrieves the value string of an expression evaluator metric given its name.

Syntax

HRESULT GetEEMetricString(
   REFGUID guidLang,
   REFGUID guidVendor,
   LPCWSTR pszMetric,
   BSTR*   pbstrValue
);
private int GetEEMetricString(
   ref Guid   guidLang,
   ref Guid   guidVendor,
   string     pszMetric,
   out string pbstrValue
);

Parameters

guidLang
[in] Unique identifier of the programming language.

guidVendor
[in] Unique identifier of the vendor.

pszMetric
[in] Name of the metric.

pbstrValue
[out] Returns the metric value string.

Return Value

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

See also