System.TMarshal Methods
InheritedProtected
AfterConstruction | public | Responds after the last constructor has executed. |
AllocMem | public | Allocates a block of memory. |
AllocStringAsAnsi | public | Copies a string into a buffer. |
AllocStringAsUnicode | public | Copies a string into a buffer. |
AllocStringAsUtf8 | public | Copies a string into a buffer. |
AsAnsi | public | |
BeforeDestruction | public | Responds before the first destructor executes. |
CheckDisposed | protected | This method is deprecated. |
ClassInfo | public | Returns a pointer to the run-time type information (RTTI) table for the object type. |
ClassName | public | Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). |
ClassNameIs | public | Determines whether an object is of a specific type. |
ClassParent | public | Returns the type of the immediate ancestor of a class. |
ClassType | public | Returns the class reference for the object's class. |
CleanupInstance | public | Performs finalization on long strings, variants, and interface variables within a class. |
Copy | public | Copies raw data to a block of memory. |
Create | public | |
DefaultHandler | public | Provides the interface for a method that processes message records. |
Destroy | public | Disposes of an object instance. |
Dispatch | public | Calls message-handling methods for the object, based on the contents of the Message parameter. |
DisposeOf (deprecated) | public | DisposeOf forces the execution of the destructor code in an object. |
Equals | public | Checks whether the current instance and the Obj parameter are equal. |
FieldAddress | public | Returns the address of a published object field. |
FixArray | public | Returns a wrapped pointer referencing the data at the start of the array. |
FixString | public | Returns a wrapped pointer referencing the data at the start of the string. |
Free | public | Destroys an object and frees its associated memory, if necessary. |
FreeInstance | public | Deallocates memory allocated by a previous call to the NewInstance method. |
FreeMem | public | Frees a block of memory. |
GetDisposed | protected | Getter for the Disposed property. |
GetHashCode | public | Returns an integer containing the hash code. |
GetInterface | public | Retrieves a specified interface. |
GetInterfaceEntry | public | Returns the entry for a specific interface implemented in a class. |
GetInterfaceTable | public | Returns a pointer to a structure containing all of the interfaces implemented by a given class. |
InheritsFrom | public | Determines the relationship of two object types. |
InitInstance | public | Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. |
InOutString | public | |
InstanceSize | public | Returns the size in bytes of each instance of the object type. |
InString | public | |
MethodAddress | public | Returns the address of a class method by name. |
MethodName | public | Returns the name of a class method by address. |
Move | public | Copies a number of bytes from a block of memory to another. |
NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
OutString | public | |
QualifiedClassName | public | Returns the qualified name of the class. |
ReadByte | public | Reads a single byte from a block of memory. |
ReadInt16 | public | Reads a Smallint value from a block of memory. |
ReadInt32 | public | Reads an integer from a block of memory. |
ReadInt64 | public | Reads a 64-bit integer from a block of memory. |
ReadPtr | public | Reads a wrapped pointer from a block of memory. |
ReadStringAsAnsi | public | Reads a string from a block of memory. |
ReadStringAsAnsiUpTo | public | Reads a string from a block of memory. |
ReadStringAsUnicode | public | Reads a string from a block of memory. |
ReadStringAsUnicodeUpTo | public | Reads a string from a block of memory. |
ReadStringAsUtf8 | public | Reads a string from a block of memory. |
ReadStringAsUtf8UpTo | public | Reads a string from a block of memory. |
ReallocMem | public | Allocates and returns a block of memory. |
SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
ToString | public | Returns a string containing the class name. |
UnfixArray | public | Decrements the reference count of a specified array. |
UnfixString | public | Decrements the reference count of a specified string. |
UnitName | public | Returns the name of the unit where the class is defined. |
UnitScope | public | Returns the class's unit scope. |
UnsafeAddrOf | public | Returns a wrapped pointer referencing data. |
UnsafeFixString | public | Returns a wrapped pointer referencing the data at the start of the string. |
WriteByte | public | Writes a single byte into a block of memory. |
WriteInt16 | public | Writes a Smallint value into a block of memory. |
WriteInt32 | public | Writes a 32-bit integer into a block of memory. |
WriteInt64 | public | Writes a 64-bit integer into a block of memory. |
WritePtr | public | Writes a wrapped pointer into a block of memory. |
WriteStringAsAnsi | public | Writes a string into a block of memory. |
WriteStringAsUnicode | public | Writes a string into a block of memory. |
WriteStringAsUtf8 | public | Writes a string into a block of memory. |