Пример #1
0
 /// <summary>
 ///     Sets the value of a property from a string.
 /// </summary>
 /// <param name="pszValue">The value.</param>
 /// <param name="dwRadix">The radix.</param>
 /// <param name="dwTimeout">The timeout.</param>
 /// <returns>If successful, returns S_OK; otherwise, returns an error code.</returns>
 public int SetValueAsString(string pszValue, uint dwRadix, uint dwTimeout)
 {
     _value.SetValue(pszValue);
     return(S_OK);
 }
Пример #2
0
 public int SetValueAsString(string pszValue, uint dwRadix, uint dwTimeout)
 {
     value.SetValue(pszValue);
     return(VSConstants.S_OK);
 }