Share via


IMLPropertySet::SetBSTR (Compact 7)

3/12/2014

This method sets the value of a string property.

Syntax

HRESULT SetBSTR(
  ULONG propertyID,
  BSTR bstrValue
);

Parameters

  • propertyID
    [in] ID of the property.
  • bstrValue
    [in] Value of the property that is set.

Return Values

Returns the HRESULT values shown in the following table.

Value Description

S_OK

The method was successful.

E_INVALIDARG

One or more parameters are invalid.

E_FAIL

The method was not successful.

E_MEMORY

An out of memory error occurred.

Requirements

Header

mlibdll.h,
mlibdll.idl

Library

mlibdll.lib

See Also

Reference

IMLPropertySet