code: def set_property(self, name, value):
          
          if not isinstance(name, basestring):
              raise TypeError("name can only be an instance of type basestring")
          if not isinstance(value, basestring):
              raise TypeError("value can only be an instance of type basestring")
          self._call("setProperty",
                       in_p=[name, value])
docs: Sets the value of the custom medium property with the given name.
          
          The list of all properties supported by the given medium format can
          be obtained with :py:func:`IMediumFormat.describe_properties` .
          
          Setting the property value to @c null or an empty string is
          equivalent to deleting the existing value. A default value (if it is
          defined for this property) will be used by the format backend in this
          case.
  
          in name of type str
              Name of the property to set.
  
          in value of type str
              Property value to set.
  
          raises :class:`VBoxErrorObjectNotFound`
              Requested property does not exist (not supported by the format).
          
          raises :class:`OleErrorInvalidarg`
              @a name is @c null or empty.