ICcObject::Name (Compact 2013)
3/26/2014
Deprecated.
This method sets and gets the name of a datastore object.
In Windows Embedded Compact 2013, CoreCon HLAPI has been deprecated.
Syntax
HRESULT get_Name(
[out, retval] BSTR* out_pbstrName
);
HRESULT put_Name(
[in] BSTR in_bstrName
);
Parameters
- out_ pbstrName, in_ bstrName
The name of a 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. |
E_DATASTORE_PROTECTED |
Indicates the method could not set Name because NAME is protected. |
E_DATASTORE_XMLTEXT |
Indicates an input parameter, not XML text. |
S_FALSE |
Returns if the name is empty. |
Requirements
Header |
ccdatastore.h |