IPersist class com
Provides the CLSID of an object that can be stored persistently in the system.
Allows the object to specify which object handler to use in the client process, as it is used in the default implementation of marshaling.
To learn more, see learn.microsoft.com/windows/win32/api/objidl/nn-objidl-ipersist.
- Inheritance
- Implemented types
Constructors
- IPersist(VTablePointer ptr)
- Creates a new instance of IPersist from a VTablePointer.
- IPersist.from(IUnknown interface)
-
Creates a new instance of IPersist 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
-
getClassID(
) → Pointer< GUID> - Retrieves the class identifier (CLSID) of the object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryInterface<
T extends IUnknown> () → T -
Queries this COM object for a specific interface defined by the type
parameter
T.inherited -
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