System.Messaging.TObjectMessage.Create

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

constructor Create(const AValue: T; AOwnsObject: Boolean = True);

C++

__fastcall TObjectMessage__1(const T AValue, bool AOwnsObject);

プロパティ

種類 可視性 ソース ユニット
constructor public
System.Messaging.pas
System.Messaging.hpp
System.Messaging TObjectMessage


説明

指定されたオブジェクトを値として持つメッセージを作成し、指定された所有権をオブジェクトに設定します。

指定されたオブジェクト、AValue は、作成されたメッセージの protected FValue プロパティに格納されています。

AOwnsObject は、TObjectMessageFValue におけるオブジェクトの所有権を持つべきか(True)、そうでないか(False)を決定します。

関連項目