Record TMarriageReplyHelper

Hierarchy
Fields
Properties

Unit

Declaration

type TMarriageReplyHelper = record helper for TMarriageReply

Description

Helper for the TMarriageReply enum type.

Overview

Methods

Public class function FromInt(Value: Cardinal): TMarriageReply; static; inline;
Public function ToInt: Cardinal; inline;
Public function ToString: string;

Description

Methods

Public class function FromInt(Value: Cardinal): TMarriageReply; static; inline;

Converts an ordinal value to a TMarriageReply enum value.

Parameters
Value
The ordinal value to convert
Returns

A TMarriageReply enum value from the given ordinal value

Public function ToInt: Cardinal; inline;

Converts the TMarriageReply enum value to its corresponding ordinal value.

Note
Protocol enums may hold out-of-bounds "unrecognized" values, which would cause range-checking errors with Ord.
ToInt is safe to use with range-checking enabled.

Returns

The ordinal representation of the TMarriageReply value

Public function ToString: string;

Converts the TMarriageReply enum value to its string representation.

Returns

The string representation of the TMarriageReply value


Generated by PasDoc 0.16.0-snapshot.