次の方法で共有


IDebugModOpt::GetModOpts

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 a list of optional modifiers.

Syntax

HRESULT GetModOpts(
   ULONG  celt,
   BSTR*  rgelt,
   ULONG* pceltFetched
);
int GetModOpts(
   uint         celt,
   out string[] rgelt,
   ref uint     pceltFetched
);

Parameters

celt
[in] Number of elements to be returned.

rgelt
[out] Returns an array that contains the options.

pceltFetched
[in, out] Number of elements returned in the rgelt array.

Return Value

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

See also