EMS.ResourceTypes.EndPointMethodAttribute.Create
Delphi
constructor Create(const AMethod: string; const AHTTPMethod: TEndpointRequest.TMethod); overload;
constructor Create(const AHTTPMethod: TEndpointRequest.TMethod); overload;
C++
__fastcall EndPointMethodAttribute(const System::UnicodeString AMethod, const Ems::Resourceapi::TEndpointRequest::TMethod AHTTPMethod)/* overload */;
__fastcall EndPointMethodAttribute(const Ems::Resourceapi::TEndpointRequest::TMethod AHTTPMethod)/* overload */;
/* TEndpointCustomAttribute.Create */ inline __fastcall EndPointMethodAttribute(const System::UnicodeString AMethod)/* overload */ : TEndpointCustomAttribute(AMethod) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | EMS.ResourceTypes.pas EMS.ResourceTypes.hpp |
EMS.ResourceTypes | EndPointMethodAttribute |
Description
Constructs an object and initializes its data before the object is first used.
EMS.ResourceTypes.EndPointMethodAttribute.Create inherits from System.TObject.Create. All content below this line refers to System.TObject.Create.
Constructs an object and initializes its data before the object is first used.
Create constructs an object. The purpose, size, and behavior of objects differ greatly. The Create constructor defined by TObject allocates memory but does not initialize data.
Descendant objects usually define a constructor that creates the particular kind of object and initializes its data.
Note: If an exception escapes from a constructor, the object's destructor is called to clean up the failed instance.