Share via


ICcProperty::Value

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

This method gets and sets the value stored in a Core Connectivity property.

In Windows Embedded CE 6.0, CoreCon HLAPI has been deprecated.

Syntax

HRESULT get_Value(
  [out, retval] BSTR* out_pbstrVal 
);

HRESULT put_Value(
  [in] BSTR in_bstrVal 
);

Parameters

  • out_ pbstrVal, in_ bstrVal
    Value stored in the Core Connectivity property object.

Return Value

The following table shows the values for this method.

Value Description

E_OUTOFMEMORY

Indicates the method could not allocate one of the bstr parameters out_bstrVal, in_bstrVal.

E_INVALIDARG

Indicates an invalid argument.

E_DATASTORE_PROTECTED

Indicates the method could not overwrite protected property.

E_DATASTORE_XMLTEXT

Indicates an input parameter, not XML text.

S_FALSE

Indicates the value is not present.

Requirements

Header ccdatastore.h

See Also

Reference

Core Connectivity Interfaces