enumeration Property

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - SOM Reference

enumeration Property

Returns a string collection. This collection contains the enumeration values that can be used for the type. For more information about the enumeration facet, see Data Type Facets.

[Script]

Implementation Syntax

var oEnumeration = oISchemaType.enumeration;

Parameters

None.

Return Values

oEnumeration
An object. The enumeration facet of the restriction. This facet is a collection of BSTRs.
[Visual Basic]

Implementation Syntax

Set oEnumeration = oISchemaType.enumeration

Parameters

None.

Return Values

oEnumeration
An object. The enumeration facet of the restriction. This facet is a collection of BSTRs.
[C/C++]

Implementation Syntax

HRESULT get_enumeration(ISchemaStringCollection** enumeration);

Parameters

enumeration [out,retval]
An object. The collection of BSTRs.

Return Values

S_OK
The value returned if successful.
E_POINTER
The value returned if the minExclusive parameter 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 Language Filter in the upper-left corner of the page.

Note   If the facet is not used, the property will return an empty collection.

See Also

Data Type Facets | Parts of Data Types

Applies to: ISchemaType Interface