EMS.ResourceTypes.EndPointResponseHeaderAttribute.Create
Delphi
constructor Create(const AMethod: string; ACode: Integer; const AName, ADescription: string;
AType: TAPIDoc.TPrimitiveType; AFormat: TAPIDoc.TPrimitiveFormat); overload;
constructor Create(ACode: Integer; const AName, ADescription: string;
AType: TAPIDoc.TPrimitiveType; AFormat: TAPIDoc.TPrimitiveFormat); overload;
C++
__fastcall EndPointResponseHeaderAttribute(const System::UnicodeString AMethod, int ACode, const System::UnicodeString AName, const System::UnicodeString ADescription, TAPIDoc::TPrimitiveType AType, TAPIDoc::TPrimitiveFormat AFormat)/* overload */;
__fastcall EndPointResponseHeaderAttribute(int ACode, const System::UnicodeString AName, const System::UnicodeString ADescription, TAPIDoc::TPrimitiveType AType, TAPIDoc::TPrimitiveFormat AFormat)/* overload */;
/* TEndpointCustomAttribute.Create */ inline __fastcall EndPointResponseHeaderAttribute(const System::UnicodeString AMethod)/* overload */ : TEndpointCustomAttribute(AMethod) { }
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| constructor | public | EMS.ResourceTypes.pas EMS.ResourceTypes.hpp |
EMS.ResourceTypes | EndPointResponseHeaderAttribute |
説明
オブジェクトを作成し,そのオブジェクトが最初に使用される前にデータを初期化します。
EMS.ResourceTypes.EndPointResponseHeaderAttribute.Create は System.TObject.Create を継承しています。以下の内容はすべて System.TObject.Create を参照しています。
オブジェクトを作成し,そのオブジェクトが最初に使用される前にデータを初期化します。
Create はオブジェクトを構築します。オブジェクトの目的,サイズ,および動作はそれぞれ大きく異なります。TObject で定義されている Create コンストラクタは,メモリの割り当ては行いますがデータの初期化は行いません。
下位オブジェクトは通常,指定のオブジェクトを作成し,そのデータを初期化するコンストラクタを定義します。
メモ: コンストラクタが発生した例外を処理しない場合,オブジェクトのデストラクタが呼び出されて失敗したインスタンスを破棄します。