IDebugProperty2::SetValueAsString

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Sets the value of a property from a given string.

int SetValueAsString (   
   string pszValue,  
   uint   nRadix,  
   uint   dwTimeout  
);  

Parameters

pszValue
[in] A string containing the value to be set.

nRadix
[in] A radix to be used in interpreting any numerical information. This can be 0 to attempt to determine the radix automatically.

dwTimeout
[in] Specifies the maximum time, in milliseconds, to wait before returning from this method. Use INFINITE to wait indefinitely.

If successful, returns S_OK; otherwise returns error code. The following table shows other possible values.

ValueDescription
E_SETVALUE_VALUE_CANNOT_BE_SETThe string could not be converted into a property value, or the property value could not be set.
E_SETVALUE_VALUE_IS_READONLYThe property is read-only.

IDebugProperty2

Show: