namespaces Property
Returns a string collection of namespaces. The namespaces are used by the <anyAttribute>
declaration to validate the well-formed XML.
[Script]
Implementation Syntax
var oNamespaces = oISchemaAny.namespaces;
Parameters
None.
Return Values
- oNamespaces
- An object. The collection of namespaces for the any particle. The namespaces returned can be: ((##any|##other)|List of (anyURI|(##targetNamespace|##local))).
[Visual Basic]
Implementation Syntax
Set oNamespaces = oISchemaAny.namespaces
Parameters
None.
Return Values
- oNamespaces
- An object. The collection of namespaces for the any particle. The namespaces returned can be: ((##any|##other)|List of (anyURI|(##targetNamespace|##local))).
[C/C++]
Implementation Syntax
HRESULT get_namespaces(ISchemaStringCollection* namespaces);
Parameters
- namespaces [out,retval]
- An object. The collection of namespaces for the any particle.
Return Values
- S_OK
- The value returned if successful.
- E_POINTER
- The value returned if the
namespaces
object 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
ISchemaStringCollection Interface | Using Namespaces in Schemas
Applies to: ISchemaAny Interface