This function retrieves the nillable
attribute of the element. A nillable element is valid with no content, even if its content type requires content. For an element to be nillable, its declaration must have the attribute xsd:nillable
with a value of true
, and its instance element must have the attribute xsi:nil
with a value of true
. The element must be empty, but it can have attributes declared in its <complexType>
declaration.
var bolIsNillable = oISchemaElement.isNillable;
None.
nillable
attribute of the element. Returns true if the element is nillable.bolIsNillable = oISchemaElement.isNillable
None.
nillable
attribute of the element. Returns true if the element is nillable.HRESULT get_isNillable(VARIANT_BOOL* isNillable);
isNillable
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.
Applies to: ISchemaElement Interface