defaultValue Property
Returns a string. This string contains the default value of the element being queried. The declaration of this element has a default attribute.
[Script]
Implementation Syntax
var strDefaultValue = oISchemaElement.defaultValue;
Parameters
None.
Return Values
- strDefaultValue
- A string. The value of the
defaultattribute in the<element>declaration.
[Visual Basic]
Implementation Syntax
strDefaultValue = oISchemaElement.defaultValue
Parameters
None.
Return Values
- strDefaultValue
- A string. The value of the
defaultattribute in the<element>declaration.
[C/C++]
Implementation Syntax
HRESULT get_defaultValue(BSTR* defaultValue);
Parameters
- defaultValue [out,retval]
- A string. The value of the
defaultattribute in the<element>declaration.
Return Values
- S_OK
- The value returned if successful.
- E_POINTER
- The value returned if the
defaultValueparameter 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
Applies to: ISchemaElement Interface
