IRecordInfo::GetName method (oaidl.h)
Gets the name of the record type. This is useful if you want to print out the type of the record, because each UDT has its own IRecordInfo.
Syntax
HRESULT GetName(
[out] BSTR *pbstrName
);
Parameters
[out] pbstrName
The name.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
Out of memory. |
|
One or more of the arguments is not valid. |
|
The state of the type library is not valid for this operation. |
Remarks
The caller must free the BSTR by calling SysFreeString.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oaidl.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for