IRecordInfo class com
Describes the structure of a particular UDT.
To learn more, see learn.microsoft.com/windows/win32/api/oaidl/nn-oaidl-irecordinfo.
- Inheritance
- Implemented types
Constructors
- IRecordInfo(VTablePointer ptr)
- Creates a new instance of IRecordInfo from a VTablePointer.
- IRecordInfo.from(IUnknown interface)
-
Creates a new instance of IRecordInfo from an existing
interface.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ptr → VTablePointer
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addRef(
) → int -
Increments the reference count of this COM object.
inherited
-
getField(
Pointer< NativeType> pvData, PCWSTR szFieldName) → Pointer<VARIANT> - Returns a pointer to the VARIANT containing the value of a given field name.
-
getFieldNames(
Pointer< Uint32> pcNames, Pointer<Pointer< rgBstrNames) → voidUtf16> > - Gets the names of the fields of the record.
-
getFieldNoCopy(
Pointer< NativeType> pvData, PCWSTR szFieldName, Pointer<VARIANT> pvarField, Pointer<Pointer< ppvDataCArray) → voidNativeType> > - Returns a pointer to the value of a given field name without copying the value and allocating resources.
-
getGuid(
) → Pointer< GUID> - Gets the GUID of the record type.
-
getName(
) → BSTR - Gets the name of the record type.
-
getSize(
) → int - Gets the number of bytes of memory necessary to hold the record instance.
-
getTypeInfo(
) → ITypeInfo? - Retrieves the type information that describes a UDT or safearray of UDTs.
-
isMatchingType(
IRecordInfo? pRecordInfo) → bool - Determines whether the record that is passed in matches that of the current record information.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
putField(
int wFlags, Pointer< NativeType> pvData, PCWSTR szFieldName, Pointer<VARIANT> pvarField) → void - Puts a variant into a field.
-
putFieldNoCopy(
int wFlags, Pointer< NativeType> pvData, PCWSTR szFieldName, Pointer<VARIANT> pvarField) → void - Passes ownership of the data to the assigned field by placing the actual data into the field.
-
queryInterface<
T extends IUnknown> () → T -
Queries this COM object for a specific interface defined by the type
parameter
T.inherited -
recordClear(
Pointer< NativeType> pvExisting) → void - Releases object references and other values of a record without deallocating the record.
-
recordCopy(
Pointer< NativeType> pvExisting, Pointer<NativeType> pvNew) → void - Copies an existing record into the passed in buffer.
-
recordCreate(
) → Pointer< NativeType> - Allocates memory for a new record, initializes the instance and returns a pointer to the record.
-
recordCreateCopy(
Pointer< NativeType> pvSource, Pointer<Pointer< ppvDest) → voidNativeType> > - Creates a copy of an instance of a record to the specified location.
-
recordDestroy(
Pointer< NativeType> pvRecord) → void - Releases the resources and deallocates the memory of the record.
-
recordInit(
Pointer< NativeType> pvNew) → void - Initializes a new instance of a record.
-
release(
) → int -
Decrements the reference count of this COM object.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited