RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IWebServExp.GenerateXMLSchema Method

Adds schema information to represent a specified type.

Pascal
procedure GenerateXMLSchema(SchemaDef: IXMLSchemaDef; const ATypeInfo: PTypeinfo; const ParentInfo: PTypeinfo; Namespace: InvString);
C++
__fastcall GenerateXMLSchema(IXMLSchemaDef SchemaDef, const PTypeinfo ATypeInfo, const PTypeinfo ParentInfo, InvString Namespace);

GenerateXMLSchema adds information to an emerging schema to represent information about a specified type. 

SchemaDef is the interface for the emerging schema. GenerateXMLSchema uses the properties and methods of this interface to add schema information for the specified type. 

ATypeInfo is the runtime type information (RTT) for the type to add. 

ParentInfo is the RTTI for the type from which the type specified by ATypeInfo is derived. If ATypeInfo does not describe a descendant type, ParentInfo is nil (Delphi) or NULL (C++). 

Namespace is the namespace URI in which the schema definition is defined. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!