System.Variants.TCustomVariantType.RaiseDispError
Delphi
procedure RaiseDispError;
C++
void __fastcall RaiseDispError();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Variants.pas System.Variants.hpp |
System.Variants | TCustomVariantType |
Description
Generates a system error indicating an invalid dispatch attempt.
Call RaiseDispError from the implementation of a TCustomVariantType descendant when an operation fails because the variant can't execute a method call. This raises EVariantDispatchError.