Skip to content

Latest commit

 

History

History
118 lines (92 loc) · 2.77 KB

nf-oaidl-irecordinfo-getfield.md

File metadata and controls

118 lines (92 loc) · 2.77 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:oaidl.IRecordInfo.GetField
IRecordInfo::GetField (oaidl.h)
Returns a pointer to the VARIANT containing the value of a given field name.
GetField
GetField method [Automation]
GetField method [Automation]
IRecordInfo interface
IRecordInfo interface [Automation]
GetField method
IRecordInfo.GetField
IRecordInfo::GetField
_oa96_IRecordInfo_GetField
automat.irecordinfo_getfield
oaidl/IRecordInfo::GetField
automat\irecordinfo_getfield.htm
automat
6765371c-209a-4794-bff8-83560171affb
12/05/2018
GetField, GetField method [Automation], GetField method [Automation],IRecordInfo interface, IRecordInfo interface [Automation],GetField method, IRecordInfo.GetField, IRecordInfo::GetField, _oa96_IRecordInfo_GetField, automat.irecordinfo_getfield, oaidl/IRecordInfo::GetField
oaidl.h
Windows
OaIdl.idl
Windows
19H1
IRecordInfo::GetField
oaidl/IRecordInfo::GetField
c++
APIRef
kbSyntax
COM
oaidl.h
IRecordInfo.GetField

IRecordInfo::GetField

-description

Returns a pointer to the VARIANT containing the value of a given field name.

-parameters

-param pvData [in]

The instance of a record.

-param szFieldName [in]

The field name.

-param pvarField [out]

The VARIANT that you want to hold the value of the field name, szFieldName. On return, places a copy of the field's value in the variant.

-returns

This method can return one of these values.

Return code Description
S_OK
Success.
E_INVALIDARG
One or more of the arguments is not valid.

-remarks

The VARIANT that you pass in contains a copy of the field's value upon return. If you modify the VARIANT then the underlying record field does not change.

The caller allocates memory of the VARIANT.

The method VariantClear is called for pvarField before copying.

-see-also

IRecordInfo

VariantClear