次の方法で共有


ICcObject::ID (Compact 2013)

3/26/2014

Deprecated.

This method retrieves the ID of a datastore object.

In Windows Embedded Compact 2013, CoreCon HLAPI has been deprecated.

Syntax

HRESULT get_ID(
  BSTR* out_pbstrID
);

Parameters

  • out_ pbstrID
    [out, retval] Language-neutral identifier for the datastore object.

Return Value

The following table shows the return values for this method.

Value

Description

E_OUTOFMEMORY

Indicates the method could not allocate the bstr parameter out_pbstrID.

E_INVALIDARG

Indicates an invalid argument.

Remarks

Localization requires a language-neutral name for a datastore object, because the ICcObject::Name value varies with locale.

Requirements

Header

ccdatastore.h

See Also

Reference

ICcObject
Core Connectivity Interfaces