Name

Get or set the source name in one language.

 

Property get

HRESULT Name([in] long langId,
[out, retval] BSTR *pVal);

Parameters

langId

[in] long value specifying the language in which to retrieve the source name

pVal

[out, retval] pointer to a BSTR variable that receives the source name in the specified language

Return Values

S_OK

Function was successfully called

E_FAIL

No name is specified in the questioned language

E_POINTER

pVal was no valid pointer

E_ACCESSDENIED

The object is locked due to an asynchronous operation

Property set

HRESULT Name([in] long langId,
[in] BSTR *pVal);

Parameters

langId

[in] long value specifying the language in which to set the source name

pVal

[in] BSTR variable holding the source name for the specified language

Return Values

S_OK

Function was successfully called

E_FAIL

A name for the language Id does already exist

E_ACCESSDENIED

The object is locked due to an asynchronous operation