notations Property
Returns a collection of notation
objects.
Example
The following example shows how to list the <notation>
declarations from the ISchemaItemCollection
of notations.
Set oSchemaCache = CreateObject("Msxml2.XMLSchemaCache.5.0") oSchemaCache.add "", "po.xsd" Set oSchema = oSchemaCache.getSchema("") For Each oNotation in oSchema.notations WScript.Echo oNotation.name + " " + oNotation.systemIdentifier + " " + oNotation.publicIdentifier Next
[Script]
Implementation Syntax
var oNotations = oISchema.notations;
Parameters
None.
Return Values
- oNotations
- An object. The collection of notations. This collection contains objects that implement the
ISchemaNotation
interface.
[Visual Basic]
Implementation Syntax
Set oNotations = oISchema.notations
Parameters
None.
Return Values
- oNotations
- An object. The collection of notations. This collection contains objects that implement the
ISchemaNotation
interface.
[C/C++]
Implementation Syntax
HRESULT get_notations (ISchemaItemCollection** notations);
Parameters
- notations [out,retval]
- An object. The collection of notations.
Return Values
- S_OK
- The value returned if successful.
- E_Pointer
- The value returned if the
notations
collection is NULL. - E_FAIL
- The value returned if something else is wrong.
To view reference information for Visual Basic or C/C++ only, click the Language Filter button in the upper-left corner of the page.
See Also
ISchemaItemCollection Interface | ISchemaNotation Interface
Applies to: ISchema Interface