variety Property
Returns a SCHEMATYPEVARIETY constant. This constant indicates the value of the type definition.
Implementation syntax
var conVariety = objISchemaType.variety;
Parameters
None.
Return Values
- conVariety
- For simple types, the
variety
value can be one of the following:SCHEMATYPEVARIETY _ATOMIC
SCHEMATYPEVARIETY _LIST
SCHEMATYPEVARIETY _UNION
For complex types, the
variety
value is always as follows:SCHEMATYPEVARIETY _NONE
Implementation syntax
conVariety = objISchemaType.variety
Parameters
None.
Return Values
- conVariety
- For simple types, the
variety
value can be one of the following:SCHEMATYPEVARIETY _ATOMIC
SCHEMATYPEVARIETY _LIST
SCHEMATYPEVARIETY _UNION
For complex types, the
variety
value is always as follows:SCHEMATYPEVARIETY _NONE
Implementation syntax
HRESULT get_variety(SCHEMATYPEVARIETY * variety);
Parameters
- variety [out,retval]
- For simple types, the
variety
value can be one of the following:SCHEMATYPEVARIETY _ATOMIC
SCHEMATYPEVARIETY _LIST
SCHEMATYPEVARIETY _UNION
For complex types, the
variety
value is always as follows:SCHEMATYPEVARIETY _NONE
Return Values
- S_OK
- The value returned if successful.
- E_POINTER
- The value returned if the
variety
parameter is NULL.
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
Applies to: ISchemaType Interface