Typ: Klasse
Stellt die Scriptklasse TProperty bereit.
| Basisklasse | TObject |
|---|---|
| Statisch | false |
Klassendeklaration
type
TProperty = class(TObject)
public
function GetName: String;
function GetDescription: String;
function GetDataType: Integer;
function GetAccess: Integer;
function GetValue: Variant;
procedure SetValue(Value: Variant);
property Name: String read GetName;
property Description: String read GetDescription;
property DataType: Integer read GetDataType;
property Access: Integer read GetAccess;
property Value: Variant read GetValue write SetValue;
end;
Methoden #
GetName #
Stellt GetName bereit.
Signatur
function GetName: String;
Rueckgabewert
String – Rueckgabewert der Methode GetName.
GetDescription #
Stellt GetDescription bereit.
Signatur
function GetDescription: String;
Rueckgabewert
String – Rueckgabewert der Methode GetDescription.
GetDataType #
Stellt GetDataType bereit.
Signatur
function GetDataType: Integer;
Rueckgabewert
Integer – Rueckgabewert der Methode GetDataType.
GetAccess #
Stellt GetAccess bereit.
Signatur
function GetAccess: Integer;
Rueckgabewert
Integer – Rueckgabewert der Methode GetAccess.
GetValue #
Stellt GetValue bereit.
Signatur
function GetValue: Variant;
Rueckgabewert
Variant – Rueckgabewert der Methode GetValue.
SetValue #
Stellt SetValue bereit.
Signatur
procedure SetValue(Value: Variant);
Parameter
| Name | Typ | Modifier | Optional | Beschreibung |
|---|---|---|---|---|
Value |
Variant |
value |
Nein | Parameter Value der Methode. |
Properties #
Name #
Property Name.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | false |
Signatur
property Name: String read GetName;
Description #
Property Description.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | false |
Signatur
property Description: String read GetDescription;
DataType #
Property DataType.
| Typ | Integer |
|---|---|
| Lesbar | true |
| Schreibbar | false |
Signatur
property DataType: Integer read GetDataType;
Access #
Property Access.
| Typ | Integer |
|---|---|
| Lesbar | true |
| Schreibbar | false |
Signatur
property Access: Integer read GetAccess;
Value #
Property Value.
| Typ | Variant |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property Value: Variant read GetValue write SetValue;
Kategorie: TProperty
