API:Soap.WSDLItems.TWSDLItems.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); overload; override;
constructor Create(const WSDLItems: TWSDLItems; const StreamLoader: IStreamLoader); overload; virtual;

C++

__fastcall virtual TWSDLItems(System::Classes::TComponent* AOwner)/* overload */;
__fastcall virtual TWSDLItems(TWSDLItems* const WSDLItems, const Soap::Wsdlintf::_di_IStreamLoader StreamLoader)/* overload */;
/* TXMLDocument.Create */ inline __fastcall TWSDLItems(const System::UnicodeString AFileName)/* overload */ : Soap::Wsdlbind::TWSDLDocument(AFileName) { }

Properties

Type Visibility Source Unit Parent
constructor public
Soap.WSDLItems.pas
Soap.WSDLItems.hpp
Soap.WSDLItems TWSDLItems

Description

Instantiates a TXMLDocument object.

Soap.WSDLItems.TWSDLItems.Create inherits from Xml.XMLDoc.TXMLDocument.Create. All content below this line refers to Xml.XMLDoc.TXMLDocument.Create.

Instantiates a TXMLDocument object.

Call Create to instantiate a TXMLDocument component at runtime. You do not need to explicitly create TXMLDocument components that are added to forms or data modules at design time: they are created automatically.

AFileName specifies the file that the new TXMLDocument instance represents.

AOwner is another component that is responsible for freeing the TXMLDocument instance. It becomes the value of the Owner property.

TXMLDocument components that are created at runtime without an owner are freed automatically when all references to their IXMLDocument interface are released. This differs from TXMLDocument components added to a form or data module at design time or those created with an owner. When added to a form or data module at design time, the object is explicitly freed by its Owner (the form or data module).

See Also