Jaa


IDebugFunctionObject::CreateStringObject

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

Creates a string object.

Syntax

HRESULT CreateStringObject( 
   LPCOLESTR      pcstrString,
   IDebugObject** ppObject
);
int CreateStringObject(
   string      pcstrString,
   out IDebugObject ppOjbect
);

Parameters

pcstrString
[in] The string value for the string object.

ppObject
[out] Returns an IDebugObject object that represents the newly created string object.

Return Value

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

Remarks

Call this method to create an object that represents a string that is a parameter to the function which is represented by the IDebugFunctionObject interface.

See also