RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IWebServExp.FindOrAddSchema Method

Ensures that a schema is eventually generated for a specified type.

Pascal
function FindOrAddSchema(const ATypeInfo: PTypeinfo; const TnsURI: string): Boolean;
C++
__fastcall Boolean FindOrAddSchema(const PTypeinfo ATypeInfo, const AnsiString TnsURI);

Call FindOrAddSchema to indicate that a schema should be generated for a given type.  

ATypeInfo is the runtime type information (RTTI) for the type. 

TnsURI is the namespace URI in which the schema for the type should be defined. 

FindOrAddSchema returns true if there is already a schema for the specified type. It returns false if the type has not previously been added. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!