The GetClassName function should return the ClassName of the underlying object. This method is necessary so that the stream user can write the object class name that implements the interface. The class name is then used on reading to create the underlying object that implements the IStreamable interface.
Note |
---|
The objects that implement this interface should also call the RegisterClass method to register the object so that the Delphi FindClass method can find the class from its class name. |
Namespace: CommonInterfaces
Delphi |
public |
Return Value
Type: String
The following code implements the GetClassName method: Delphi |
function TIEUserFunction.GetClassName: String; |