IAttr::Name

 
BSTR Name;
 

Return Values

 
This string property can be used to set or get using a BSTR.
 

Remarks

 
When using BSTR, the SysAllocString method initializes the string. At the end use SysFreeString to free the memory for a BSTR. BSTR can be casted with LPCWSTR to CString. See example below.